有没有办法让 python 程序在关闭后继续 运行(比如在特定时间自动打开)?
Is there a way for a python program to continue running even after it's closed (like automatic open at a certain time)?
更具体地说:有没有办法让 python 程序在关闭后继续 运行(比如在特定时间自动打开)?或者像 gmail 通知?这是一个警报项目,我希望它自己 ring/open 即使用户关闭 window。有没有办法将其 happen/get 编写成脚本?如果是这样,如何?如有任何帮助,我们将不胜感激!
您可能想要查看守护进程和 cron 作业。
How to start daemon process from python on windows?
How do I get a Cron like scheduler in Python?
当然可以。您只需隐藏 window 而不破坏它。它将永远 运行 直到你杀死主循环本身。你的问题太广泛了。
更具体地说:有没有办法让 python 程序在关闭后继续 运行(比如在特定时间自动打开)?或者像 gmail 通知?这是一个警报项目,我希望它自己 ring/open 即使用户关闭 window。有没有办法将其 happen/get 编写成脚本?如果是这样,如何?如有任何帮助,我们将不胜感激!
您可能想要查看守护进程和 cron 作业。
How to start daemon process from python on windows?
How do I get a Cron like scheduler in Python?
当然可以。您只需隐藏 window 而不破坏它。它将永远 运行 直到你杀死主循环本身。你的问题太广泛了。