first commit

This commit is contained in:
iProbe 2022-10-18 16:59:37 +08:00
commit ba848e218d
1001 changed files with 152333 additions and 0 deletions

12
Python/现在的时间.py Normal file
View file

@ -0,0 +1,12 @@
import datetime
def getnow():
now = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S")
return now
# ——————————————————————————————————————————————————————————————————————————————
import time
def getnow():
now = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
return now