擅长:python、mysql、java
<blockquote>
<p>For context, my Python program is a continually looping service program that aims to run all the time.</p>
</blockquote>
<p>这很难得到正确的结果(参见<a href="https://stackoverflow.com/questions/473620/how-do-you-create-a-daemon-in-python">How do you create a daemon in Python?</a>)。您应该使用<a href="http://pypi.python.org/pypi/python-daemon/" rel="nofollow noreferrer">http://pypi.python.org/pypi/python-daemon/</a>这样的库。在</p>