Have I done something wrong? Setting up the Python IDE configuration window
Apologies for the rubbish Subject but I'm finding it hard to explain.
Using PyCharm CE 3.0.2 on OSX 10.9
The problem is that unless I have a filename written in the script field (see screenshot) of Run\Debug Configurations window, I cannot run any files.
Therefore, I have to ensure I put the file I am currently working on, into the Script field.
When I have another file open and I press the Run Python green triangle the file that I am looking at does not run but the previous file runs.
If I leave the Script field blank, nothing will run. and the message "Run Configuration Error: Please specify script name" appears in the config window.
I'm pretty sure I've broken something! Can someone help rectify this so that the script I am currently looking at is the one that actually runs.
Using PyCharm CE 3.0.2 on OSX 10.9
The problem is that unless I have a filename written in the script field (see screenshot) of Run\Debug Configurations window, I cannot run any files.
Therefore, I have to ensure I put the file I am currently working on, into the Script field.
When I have another file open and I press the Run Python green triangle the file that I am looking at does not run but the previous file runs.
If I leave the Script field blank, nothing will run. and the message "Run Configuration Error: Please specify script name" appears in the config window.
I'm pretty sure I've broken something! Can someone help rectify this so that the script I am currently looking at is the one that actually runs.
Please sign in to leave a comment.
Basically, there are two ways to get such a run configuration:
Thus, you can do the following:
PyCharm then executes your file. If you need to provide command line parameters for that script, you can now choose "Edit Configuration" from the dropdown and set any options that are required and run again. I find this a lot simpler than creating run configurations manually before executing scripts.
You can find more information about run configurations in the PyCharm Online Help.
Hope that helps!