''' Honestly just check to see what the newest file is and if it is newer than the last one we saw Send a push notification to Alex Aspirations: [] Suggest new names [] Rename them in the tool ''' import os import time SCANS_DIR = r'\\192.168.1.4\scans' listing = os.listdir(SCANS_DIR) print(listing) for item in listing: cur_file = os.path.join(SCANS_DIR, item) # print("last modified: %s" % time.ctime(os.path.getmtime(cur_file))) # Last Modified Time print("%s Created: %s" % (item, time.ctime(os.path.getctime(cur_file))))