数据驱动方式尝试

This commit is contained in:
dongxiaoyan
2020-12-15 19:58:08 +08:00
parent da2e33850b
commit fe1127b3a3
16 changed files with 711 additions and 0 deletions

11
05-Other/variable/my1.py Normal file
View File

@@ -0,0 +1,11 @@
import os
import radom
import time
USER = os.getlogin()
RANDOM_INT = random.randint(1,10)
CURRENT_TIME = time.asctime()
if time.localtime()[3] > 12:
AFTERNOON = True
else
AFTERNOON = False