+ 1
How do I get my program to enter the current date and time without me entering it
3 Antworten
+ 3
Check out the Python "time" module.
time.ctime() will give you current time and date according to you time zone in string.
Don't forget to import it first.
+ 3
you need to learn datetime module check it.
https://youtu.be/eirjjyP2qcQ
0
import time
time.time()