import schedule
import os
def start_file():
os.startfile("C:\python\Zoom.lnk")
schedule.every().day.at("09:00").do(start_file())
它只是打开我的缩放应用程序,而没有在适当的时间打开它,并且给了我错误:
"File "C:\Users\Hate348\PycharmProjects\pythonProject\venv\lib\site-packages\schedule\__init__.py", line 440, in do
self.job_func = functools.partial(job_func, *args, **kwargs)
TypeError: the first argument must be callable"
慕婉清6462132