Published
- 1 min read
rerun file after change python
The solution for this is noted below
rerun file after change python
Solution
import os
import sys
os.execv(sys.executable, ['python'] + sys.argv)
Try other methods by searching on the site. That is if this doesn’t work