└── main.py /main.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | file_path = '/users/NAME/Downloads/FILE PATH' 4 | 5 | print(file_path) 6 | 7 | if os.path.isfile(file_path): 8 | os.remove(file_path) 9 | print("File has successfully been deleted!") 10 | else: 11 | print("This file does NOT exist!!!") --------------------------------------------------------------------------------