script de redémarrage python
sys.stdout.flush()
os.execl(sys.executable, 'python', __file__, *sys.argv[1:])
Long Lobster
sys.stdout.flush()
os.execl(sys.executable, 'python', __file__, *sys.argv[1:])
import os
while 1:
os.system("python main.py")
print "Restarting..."
exit()
import os
os.system("python main.py")
exit()