Tweet
python -i http://program.py
This will execute the code in http://program.py, then go to the REPL. Anything you define or import in the top level of http://program.py will be available.
🤯
https://stackoverflow.com/a/1396199
(original)
python -i http://program.py
This will execute the code in http://program.py, then go to the REPL. Anything you define or import in the top level of http://program.py will be available.
🤯
https://stackoverflow.com/a/1396199
(original)