tutaharmony.blogg.se

Python closes after running script
Python closes after running script










python closes after running script

If you look at the very first image, you will notice that in the combobox there is no run/debug configuration at all on the second image it appears, marked with the green circle. P圜harm comes with a number of such pre-defined profiles, or run/debug configurations, that serve patterns, against which you can create any number of run/debug configurations of your own.Įvery time you click the Run or Debug buttons (or choose Run or Debug commands from the context menu), you actually launch the current run/debug configuration in the run or debug mode. Run/debug configuration - what is it?Įach script or test you wish to run or debug from within P圜harm, needs a special profile that specifies the script name, working directory, and other important data required for running or debugging. Let's explore in detail what we've done and what we see.

python closes after running script

Enter values for a, b, and c to review the output in the Run tool window: Then choose Run 'Solver' from the context menu: Open the class Solver.py for editing F4, and right-click the editor background. Note that for the current project your Python interpreter version should be 3.0 or later. You have Python interpreter already configured.












Python closes after running script