<reponame>dadam1026/Homework1v2
# Contains helper functions for your apps!
from os import listdir, remove


# If the io following files are in the current directory, remove them!
# 1. 'currency_pair.txt'
# 2. 'currency_pair_history.csv'
# 3. 'trade_order.p'
def check_for_and_del_io_files():
    # Your code goes here.
    file_list = ['currency_pair.txt', 'currency_pair_history.csv', 'trade_order.p']
    for i in file_list:
        try:
            remove(i)
            print("File deleted")
        except:
            print("Could not delete file: " + i + ". File does not exist")

    pass  # nothing gets returned by this function, so end it with 'pass'.


# Contains helper functions for your apps!
from os import listdir, remove


# If the io following files are in the current directory, remove them!
# 1. 'currency_pair.txt'
# 2. 'currency_pair_history.csv'
# 3. 'trade_order.p'
def check_for_and_del_io_files():
    # Your code goes here.
    file_list = ['currency_pair.txt', 'currency_pair_history.csv', 'trade_order.p']
    for i in file_list:
        try:
            remove(i)
            print("File deleted")
        except:
            print("Could not delete file: " + i + ". File does not exist")

    pass  # nothing gets returned by this function, so end it with 'pass'.
# Contains helper functions for your apps! # If the io following files are in the current directory, remove them! # 1. 'currency_pair.txt' # 2. 'currency_pair_history.csv' # 3. 'trade_order.p' # Your code goes here. # nothing gets returned by this function, so end it with 'pass'.