Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to restart program in python

import os
import sys
os.execl(sys.executable, sys.executable, *sys.argv)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #restart #program #python
ADD COMMENT
Topic
Name
6+5 =