PyCharm is used for the first time (Hell world !), Pycharmhell
As the starting point of the PyCharm Editor, we naturally write a Hello word and run it first. (This article is intended for beginners who are not familiar with IDE.)
1. Create a project
File --> New Project...
2. Create a new file
Right-click the created helloWord project and choose New --> Python File
3. Enter the file name.
Enter the file name.
4. Go to the editing page.
5. Set the Console
Before running, we found that the "run" and "debug" on the shortcut menu were gray and could not be triggered. Because, we need to configure the console first.
Click the black inverted triangle next to running to go to the "Run/Debug deployments" configuration page. (Or click Run --> Edit Configurations)
On the Run/Debug Configurations configuration page,
Click the green plus sign to create a configuration item and select python. (Because hello word is a python Program)
On the configuration page on the right:
Name in the Name column, such as Unnamed
Click Scrip to find the AA. py file we just wrote.
Click OK to return to the editing page automatically. At this time, the "run" debugging "button turns green!
6. Run
Click the Green run button to view the output:
OK! Conclusion ~