DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to reboot a python script
import os while 1: os.system("python main.py") print "Restarting..." exit()
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#reboot
#python
#script
ADD COMMENT
Topic
COMMENT
Name
8+1 =
Submit