If you are looking for software to use, go to Huajun Software Park! software release
Location: front pageTutorial strategyTutorialComputer software tutorials How does PyCharm...

How to set parameters in PyCharm - How to set parameters in PyCharm

Author: dim sum Date: 2022-10-09

PyCharm
PyCharm-24.9.0.0 official version

Text editing Storage: 11.99MB Time: 2021-09-28

Software introduction: PyCharm is a Python IDE launched by JetBrains. It comes with a complete set of tools that can help users improve when developing in the Python language...

Download now

Many people don’t know how to set parameters in PyCharm? The article brought to you today is about how to set parameters in PyCharm. If you still don’t know, let’s learn it with the editor.

Step 1: Open the pycharm development tool and create a new Python file (as shown in the picture).


Step 2: Import the sys module, then call argv, and print the parameter values ​​in sequence (as shown in the figure).


Step 3: Save the code and run the Python file. You can view the print result (file path) (as shown in the figure).


Step 4: Press Shift + Alt + F10 to open the Configuration window (as shown in the figure).


Step 5: In Parameters, enter several parameter values ​​(as shown in the picture).


Step 6: Run the Python file again and check the print results. You can see the a, b, and c parameters (as shown in the figure).


The above is the entire content of how to set parameters in PyCharm brought to you by the editor. I hope it can help you.

Related articles