Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from datetime import datetime
- def data():
- now = datetime.now()
- now = now.strftime("%d/%m/%Y ")
- f=open("data.txt","w",encoding="UTF-8")
- f.write(now)
- f.close()
- data()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement