Live coding for use with Pyside6, PyQt6 or whatever you need to re-run Powershell python -m venv .whatever .whatever/Scripts/activate Run lonely (nosense): python live.py your_script.py Run the right way (at least for my personal use): Start-Process python -ArgumentList "-m idlelib .\code.py"; python live.py code.py