Python learn some of the gains _1_pycharm use

Source: Internet
Author: User

I. Interface and font adjustment

Install Pycharm The default interface is white, and the editing area and console area have smaller fonts. I personally prefer the interface is black, the main focus on the area of the font, larger, look at a little more clearly. The adjustment method is like this drop ~!

Click file->settings Open Settings window, all settings are here, the structure is very clear, find Bai ...

1. Black background

This is about the subject of choice, settings->editor->colors&fonts, in Scheme Dracula 1 (DARCULA1) and then save as a name you want.

2. Adjust the font size

When using Pycharm, the area you are most concerned with is the code editing area and the console area below it. Code edit area font such as: Settings->colors&fonts->font, in the window to the right of the editor font area to adjust to the you want;

In the console area, select the console font under the font in the structure to adjust the font size.

3. Adjust the code font bold display more clearly

Settings->edditor->colors&fonts->general, click Text->default Text in the window, and then tick the Bold box.

Two. View of the window layout

1. The left side is the project display area, your current code exists in the project directory and all of the following files, this area can click on Project to toggle hidden and display.

2. The area with the largest right area is the code editing area, in this area,

      • Multi-line Comment: can be directly used to build "control+/" to achieve multi-line comments and cancel multi-line comments;
      • Display line number: settings->editor->general->appearance, in the window check show lines numbers;

3. Below our most common concern on the Python console can be dragged and resized by the mouse, you can click on the upper right corner of the area of the small chart hide the area, run, stop running, etc., point to know.

Three. Operations that run the code

When running the code, if more than one code window is open at the same time, in the click on the window of the running button before you check the name of the program you want to run, sometimes messy, the best way is to right-click in the code area, in the shortcut menu selected to run, is directly your current program run;

When running a program using the operating system's command line, you do not have to switch to the command line terminal and open the terminal window directly below the Pycharm to run the command.

Four. Directly upload the code to the remote settings

Python learn some of the gains _1_pycharm use

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.