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 # #