Python developer's IDE
First, why use IDE
Until now, not a person who wrote the code you, but you have not found a time to write code to create a new file, but also save selected storage location when finished, but also to switch to the command line when executing the python interpreter call , a good trouble ah, can one go, let me simply write the code? IDE development tools at this time to play it, a good IDE can help you greatly enhance the development efficiency.
Many languages have more popular development tools, such as the JAVA Eclipse, C #, C ++ of VisualStudio, Python is Shane? Pycharm and Jupyter, two of the best Python development IDE.
Second, the installation Pycharm
Next, install pycharm
1, first download from the website pycharm: Dragon sword, clicking on the play , then enter the following chart, choose according to their computer's operating system, windows system selected for The red circle in the area.
2, in the pop PyCharm installation welcome page, click "Next button" to enter the next step
3, depending on your computer's processor to select 32-bit or 64-bit, create a desktop shortcut, associate * .py file
4. Select the Start Menu folder, select Install
5, start the installation
6, the installation is complete, run Pycharm immediately
7, choose whether to import the development environment configuration file, here choose not to import
8, read and accept these Terms and Conditions, no doubt, decisive accepted
9, License: Software activation
- Recommended to buy legitimate software, support genuine.
- You can choose to download the community version, free of charge, this version can play white
- Professional version can choose to try, free 30-day trial.
- Looking for activation code online or authorization server.
- Everything a treasure ah! It gave me strength.
2.1 Speaking Pycharm
Note: Please turn off PyCharm Speaking before, and as you develop noble, try not to use the finished package acquisition
The finished package the "resources_cn.jar" placed in the installation directory lib, restart PyCharm
Third, the use Pycharm
3.1 Tips
1, how to replace the Python interpreter:
In the File -> Settings -> Project: Project Interpreter found at xxx. Then you need to modify the Python interpreter. Note that this place must be noted that: in the choice of Python interpreter, be sure to choose to python.exe this file instead of python installation folder.
2, how to adjust the editor font and size:
3, how to make a tab key instead of four Spacebar:
4, the great God who commonly used shortcut keys
- ctrl + c: Copy selection; when you do not select content, copy the current line.
- ctrl + x: Cut the selected text; when the content is not selected, the current line.
- ctrl + v: Paste
- ctrl + d: Copy the current line to the next line.
- ctrl + y: delete the current row.
- shift + enter: skip to the next line.
- ctrl + /: add comments.
- tab: indentation.
- shift + tab: un-indent.
- ctrl + f: Find.
- ctrl + shift + r: look in the current project.
- minus ctrl +: folding the current code block.
- ctrl + Plus: Expand the current code block.
- minus ctrl + shift +: folding the current file all code blocks.
- ctrl + shift + plus: Expand the current file all the code base.
- ctrl + z: go back operation
- shift + ctrl + z: Back Next