Pytania oznaczone «infinite-loop»

87
Jak na zawsze uruchomić program w Pythonie?

Muszę uruchamiać program w języku Python w nieskończonej pętli. Obecnie prowadzę to w ten sposób - #!/usr/bin/python import time # some python code that I want # to keep on running # Is this the right way to run the python program forever? # And do I even need this time.sleep call? while...