Programming questions? Ask a programmer for answers ASAP
Welcome to JustAnswer. My Name is***** will do my best to help you. If you have any questions or concerns, please let me know. Are you ready to start? Thanks Again,Andy
What OS and Compiler are you using?
Let me opt out
Hello and Welcome to JustAnswer, an independent Question and Answer site. My name is ***** ***** I will be happy to assist you today!
Kindly let me know what issue you are facing in running your code.
Kindly follow below steps to configure your Pycharm.
Create a run/debug configuration
Open the Run/Debug Configuration dialog in one of the following ways:
Select Run | Edit Configurations from the main menu.
With the Navigation bar visible (View | Appearance | Navigation Bar), choose Edit Configurations from the run/debug configuration selector.
Press Shift+Alt+F10, then press 0 or select the configuration from the popup and press F4.
In the Run/Debug Configuration dialog, click on the toolbar or press Alt+Insert. The list shows the default run/debug configurations. Select the desired configuration type.
The fields that appear in the right-hand pane display the default settings for the selected configuration type.
To change the settings of a default run/debug configuration, expand the Templates node, select the desired configuration type, and modify it as required. See Change templates of run/debug configurations for details.
To use an existing configuration as a template, create its copy by clicking the Copy button on the toolbar, then change it as required.
Specify its name in the Name field. This name will be shown in the list of the available run/debug configurations.
Select Allow parallel run to launch a run configuration multiple times in parallel instead of rerunning it. Each runner will start in its own tab of the Run Tool Window or Debug Tool Window.
From the Script path/Module name list select a type of target to run. Then, in the corresponding field, specify the path to the Python script or the module name to be executed.
Specify Parameters to be passes to the Python script during the execution or add one of the available macros.
Specify the Python interpreter.
If needed, specify Python environment variables.
In the Before launch section, define whether you want to execute some tools or scripts prior to launching the run/debug configuration.
In the Execution section, you can select a method to run the script (Emulate terminal in output console or Run with Python console). If needed, enable redirecting data from a text file to standard input (Redirect input from).
Specify additional parameters depending on the configuration type. For descriptions of run/debug configuration parameters, refer to the Run/debug configurations dialog section.
Apply the changes and close the dialog.