python自动定时启动exe程序
import os
import datetime
import time
def run():
os.chdir(r"C:\Users\Desktop\")
path = “like.exe”
os.system(path)
def main(h1=5,h2=12):
while True:
now = datetime.datetime.now()
# print(now.hour, now....
原创
2020-01-03 12:55:48 ·
4159 阅读 ·
4 评论