how to make a simple clock using python
- linuxtech
- Apr 18, 2020
- 1 min read
import time while True: from datetime import datetime now = datetime.now() print ("%s/%s/%s %s:%s:%s" % (now.month,now.day,now.year,now.hour,now.minute,now.second)) time.sleep(1) you can see the output in the pics

Comentarios