Proxy Community
How can I run a script inside the Python shell effectively? - Printable Version

+- Proxy Community (https://proxycommunity.com/forum)
+-- Forum: Technical Community Support (https://proxycommunity.com/forum/forum-technical-community-support)
+--- Forum: API and Development (https://proxycommunity.com/forum/forum-api-and-development)
+--- Thread: How can I run a script inside the Python shell effectively? (/thread-how-can-i-run-a-script-inside-the-python-shell-effectively)

Pages: 1 2 3


“” - proxyVoyager77 - 15-03-2025

Hey! I usually just use `import` to run my scripts. Like, if it’s `script.py`, just do `import script` in the shell.

For debugging, I’d recommend using `pdb` or `ipdb` if you want something more interactive.

Also, if you’re looking for a tool, check out PyScripter. It’s lightweight and has a built-in debugger that’s pretty easy to use.