Does a del statement open up memory?
问题 I wrote a python script that backs up my files while I'm sleeping at night. The program is designed to run whenever the computer is on and to automatically shut down the computer after the backups are done. My code looks like this: from datetime import datetime from os import system from backup import backup while True: today = datetime.now() # Perform backups on Monday at 3:00am. if today.weekday() == 0 and today.hour == 3: print('Starting backups...') # Perform backups. backup("C:\\Users\