python_ entry

1 drawback

  • Chinese lack of information
  • Small domestic market
  • Running slow

python's official website describes https://docs.python.org/zh-cn/3/tutorial/index.html

2 IndentationError (indentation errors)

python official website provides cloud interpreter https://www.python.org/shell/

Since python is an elegant language, only allows code neat appearance, so the python interpreter does not allow spaces appear. As follows, reported abnormal indentation.

3 Chinese support

Python 2.x version does not support Chinese, but the 3.x version supports Chinese.

You can view the new changes in version 3.x of Quguan network

https://docs.python.org/zh-cn/3/whatsnew/index.html

Terminal 4 Ipython

Compared with Python comes with the terminal, its benefits

  • Auto Indent : Due to indent python very strict, so for beginners do not take the initiative to indent.
  • Support bash shell command
  • It built a lot of features and functions

5 comments

pycharm development tools to download, can learn https://www.cnblogs.com/S-Mustard/p/11184304.html

As follows, as recommended python # followed by a space, so pycharm tool will remind wavy lines, although not affect the compilation.

 # Behind the mouse to select the location, there will be a light bulb appears, click the light bulb reformat file, pycharm will automatically help you format.

FIG effect after formatting

 Multi-line comments wording

6 Code Specification

python official website https://devguide.python.org/

Google's Chinese version introduced https://zh-google-styleguide.readthedocs.io/en/latest/google-python-styleguide/contents/

 

 

 

Guess you like

Origin www.cnblogs.com/S-Mustard/p/11443762.html