PyCharm is installed on the 64-bit System of win10, and pycharmwin1064-bit

Source: Internet
Author: User

PyCharm is installed on the 64-bit System of win10, and pycharmwin1064-bit

I have previously introduced many other systems for installing PyCharm. If you are interested, refer:

Pycharm experience (1) Installation and first use

Python installation tutorial Pycharm installation tutorial

Python and PyCharm installation and usage (for Mac)

What I want to share with you today is the detailed steps for installing PyCharm on a 64-bit windows 10 system.

Build Environment

1. win10_X64. Other Win versions are also supported.

2. PyCharm version: Professional-2016.2.3.

Preparation

1. Download The PyCharm installation package from the PyCharm website.

2. Select Windows Professional Edition for download.

Install software

1. Double-click the installation package to install it.

2. Customize the software installation path (it is recommended that the path contain no Chinese characters ).

3. Create a desktop shortcut and associate it with the *. py file.

4. Select the Start Menu folder (default) and click Install.

5. wait patiently for installation.

6. After installation is complete, check "Run PyCharm now.

7. Select whether to import the development environment configuration file.

8. Read and agree to the agreement.

9. Modify the hosts file: C: \ Windows \ System32 \ drivers \ etc \ hosts;

0.0.0.0 account.jetbrains.com

10. Enter the activation code to activate the software. (read the next step to obtain the activation code ).

11. Software activation Methods
1. We recommend that you purchase genuine software.
2. You can download the Community version for free.
3. for a professional version, you can choose to try it for free for 30 days.
4. Search for an activation code or an authorized server online.
We use 4th methods:
On the IntelliJ IDEA registration code website, you can obtain the activation code. Previously, the user name can be customized. Now it is No. You can only obtain the activation code directly.

After you click get activation code, the text is selected by default. Right-click to select copy.

12. paste the activation code into the text box and click OK.

13. Welcome Page of PyCharm.

14. Select the IDE theme and editing area theme, and suggest the Darcula theme (Note: Black is more conducive to protecting your eyes !!!).

15. As we change the topic, we will be prompted to restart the IDE and select Yes.

16. Select to create a new project.

17. Customize the Project Storage path. The IDE will be associated with the Python interpreter by default.

18. The prompts provided by IDE are not displayed when I select to start.

Programming font

What is the most common programming? (It must not be a Bug), but code. Most people always use the default font of the editor. In fact, changing a set of appropriate font not only makes the code more comfortable, it can even improve work efficiency!

So how do I select a programming font? What !!!

1. Equal-width font.

2. There is a degree of recognition, that is, the difference between 0 and O, 1 and l.

We recommend a programming font Hack. Go to the Hack official website and click Download.

Select a software package suitable for Windows.

Go to GitHub to download the installer.

Double-click the downloaded installation package.

Configure IDE

1. Display/hide function sidebar (lower left corner of the software ).

2. display the project directory structure.

3. Configure the IDE and follow the instructions to go to Settings.

4. Set the display line number to display blank characters.

5. Set the programming font to Hack and the font size to 15.

6. Set the console font to Hack and the font size to 15.

7. Modify the template for creating the *. py file, add the default interpreter in the first line (to facilitate running in Linux), and add the file encoding.

8. Set the Python default interpreter and add additional extension packages,

Common shortcut keys

1. Ctrl + Enter: Click the New Construction Bank but do not move the cursor;
2. Shift + Enter: Move the New Construction Bank to the beginning of the new line;
3. Ctrl +/: Comment (uncomment) the row selected;
4. Ctrl + Alt + L: format the code (in conflict with the QQ lock hotkey, and disable the QQ hotkey );
5. Ctrl + Shift ++: Expand All the code blocks;
6. Ctrl + Shift +-: contract all the code blocks;
7. Ctrl + Alt + I: automatically scale down;
8. Alt + Enter: optimize the code and add a package;
9. Ctrl + Shift + F: advanced search;
10. Alt + Shift + Q: update the code to the remote server;

Remote connection Programming

Sometimes we need to write code on Windows, run the code in Linux, or work with a team to develop a project, we need to remotely connect to the Linux server for programming.

Here, I use a virtual machine to pretend to be a remote server (Awkward). The virtual machine IP address is 192.168.10.50. I use XShell (ssh protocol) to connect to the server (Virtual Machine) and PyCharm (sftp protocol) connect to the server (Virtual Machine ).

1. view the Virtual Machine IP address on XShell.

2. Create a project workspace on a virtual machine.

3. Configure the remote server on PyCharm.

4. Add a new connection.

5. Set the connection name and the protocol type used.

6. Set the Host IP address, workspace (previously created), and logon information.

7. Browse the remote server.

8. Create a file on the server.

9. write the code.

10. Click Update code to the server in the upper-right corner of the editing area.

11. Set file permissions and add execution permissions.

12. Run the script file using XShell.

The above is the whole process of installing PyCharm in WIN10 for this instance. If you have any other questions, please leave a message below.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.