Python Getting Started tutorial learn Note # #

Source: Internet
Author: User

2.1 python3.6 Tool Use

After running Python's own idle, enter the Python command, such as print (' Hello World ') and output Hello World after carriage return

The Mac system will appear for a period of warning:the version of TCL/TK in use can ustable. Prompt is not stable, will appear unable to input Chinese, need to download and install update TCLTK.

2.2 Pycharm Tools for use

For the first time use, tick the default configuration environment, create a new project, named Custom 1, and configure the compilation environment (interpreter) to python3.6

Figure 1, to run the start-up interface for Pycharm, first create a project, all new tests are included in this project file

Figure 2, after startup for Pycharm, create a new Python file in the project, such as the Hello world.py file

Start scripting after creating a new py file in the order shown in Figure 1 and Figure 2

Figure 3, after writing the footstep execution run, right-click or menu bar select Run ' Hello World ' or the play button of the command Prompt window below

The above simply describes the complete writing and running of the program code, other pycharm tools and settings please refer to other documentation instructions, or learn the language later.

Python Getting Started tutorial learn Note # #

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.