Code, compile, and run Files programs online
# Use the folder icon in the toolbar above to mount a folder from your computer. # The file written in the code below will be saved to the mounted folder. import os import datetime with open("today.txt", "w+") as file: file.write(datetime.datetime.now().strftime("%Y-%m-%d"))