PyCharm is used for the first time (Hell world !), Pycharmhell

Source: Internet
Author: User

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 ~

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.