Answer the question
In order to leave comments, you need to log in
Print time in seconds python3?
How to print only the current seconds in python?
Answer the question
In order to leave comments, you need to log in
import datetime
print("Current second: %d" % datetime.datetime.now().second)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question