Learning Python Road (1) acquaintance

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/rikkatheworld/article/details/98205834

Today saw the 52kstar articles on github called 100 days Pyhon from novice to master.
Links: jackfrued / Python-100-Days
looks can be described as marvelous, so I decided to read and take notes on this blog.
One hour a day looking at it with time off work to see whether the opportunity to help me learn about the background.

The first chapter, the initial Python

python advantages:

  • simple
  • easy to use
  • Open source
  • Explanatory Language: portability
  • High scalability, can be embedded, since the Py can call in C / C ++, can also call Py in C / C ++ are
  • Readable

Disadvantages:

  • Efficiency is slightly lower
  • Code can not be encrypted
  • Too many third-party frameworks can be selected.

Applications:
Web application development, cloud services, crawlers, data mining, machine learning. There are also plenty of back-end Web application.

The first line of code

After installation environment variables, I Sublime as authoring tools.

print('hello,rikka')

Then save the file as " helloworld.py "
in cmd into the directory, then:

python helloworld.py

Results are as follows:
Here Insert Picture Description

Comments in the code

  • Single-line comments
    using the # spaces
  • Multi-line comments
    starting with "" to "" "end"
    for the first three marks the end of the three quotes

PyCharm

Py looks like a special editor, that I not white at the sublime. Go to download it again PyCharm ~
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/rikkatheworld/article/details/98205834