Running Scripts

Run Python scripts internally or externally and troubleshoot interpreter and console problems.

v2.0 In Development Legacy Python Release

Status

pyIDE v2.0: Public v2.0 download is not available yet.

Legacy Python Release: Legacy Python Release

Internal run mode

F5 runs the current script inside pyIDE using the selected Python interpreter.

  • Save the script before running.
  • Internal mode is convenient for normal print output and quick tests.
Output panel behavior

The output panel shows stdout, stderr, and visible error output.

  • Read traceback text for file and line details.
  • Nothing appears if the script exits silently.
stdin input

Scripts that call input() need stdin support.

  • If a prompt behaves poorly internally, use an external console.
Stop a running script

Shift+F5 stops a running script where supported.

  • Some child processes may need manual closing.
  • Save work before rerunning long tasks.
External console mode

Ctrl+F5 launches the script in an external console.

  • Interactive CLI and curses-style tools may work better externally.
  • Command Prompt, Windows PowerShell, PowerShell 7, Windows Terminal, and custom terminals may be used.
Terminal choices

Choose the external console that fits your workflow.

  • Windows Terminal must be installed before selecting it.
  • PowerShell 7 is separate from Windows PowerShell.
  • Custom terminal entries need valid executable paths.
Common execution errors

Most run failures come from interpreter-selection problems, missing files, or missing Python packages.

  • Confirm python.exe exists.
  • Install required modules in the selected environment.
  • Check paths with spaces when external tools fail.