executable - run program in Python shell - Stack Overflow

executable - run program in Python shell - Stack Overflow

f you're wanting to run the script and end at a prompt (so you can inspect variables, etc), then use:

python -i test.py 

That will run the script and then drop you into a Python interpreter.

link | flag

你可能感兴趣的:(overflow)