How to get the current time in Python, the format is as follows:
2017-06-23 22:12:35
ringa_lee
Reference article: Get the current time in Python
import time
time.strftime("%Y-%m-%d %H:%M:%S")
import datetime
datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")