Answers for "import running script python"

1

how to execute python script in another script

import subprocess
subprocess.call(" python script2.py 1", shell=True)
Posted by: Guest on June-26-2021
0

python launch ipython from script

from IPython import embed

a = "I will be accessible in IPython shell!"

embed()
Posted by: Guest on June-11-2021

Code answers related to "import running script python"

Python Answers by Framework

Browse Popular Code Answers by Language