In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
Editor to share with you what the basic syntax of Python full-stack development is, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Introduction to No.1 Python language
See Baidu encyclopedia for details.
What kind of language is No.2 Python?
The details are in Baidu encyclopedia.
What can No.3 Python do?
Network applications, desktop applications, system operation and maintenance, machine learning, scientific computing.
Network application Django/Flask/Tornado
Desktop application PyQt/PySide/wxPython/PyGTK
System operation and maintenance psutil/IPy/dnspython/difflib
Machine learning Scikit-Learn/Statsmodels/PyMC/Shogun
Scientific computing NumPy/SciPy/Matplotlib
Advantages and disadvantages of No.4 Python
Simple, efficient development, high-level language, cross-platform.
Slow speed, code can not be encrypted, GIL lock.
Installation of No.5 Python
Download Anaconda from Windows, click and click.
Linux download Anaconda, extract, install.
No.6 comment
Single-line comment # one line
Multiline comments "" pile "OR"pile"
No.7 keyword
Identifiers with special functions, which are called keywords
Import keywordprint (keyword.kwlist) No.8 formatted symbol remarks c character s string I signed decimal integer d unsigned decimal integer o octal integer x hexadecimal integer (lowercase letter) Xhexadecimal integer (uppercase letter) f floating point No.9 variable
The variable of Python is a post-it note
Variable names can only be a combination of letters, numbers, and underscores
The first character of a variable cannot be a number
Variable name cannot be the same as keyword
No.10 operator
Arithmetic operator
Operator remarks + add-subtract * multiply * * power / divide / / divide% module
Assignment operator
Operator example = a = 1 words a + = 1 a + 1 words words a-= 1 a = a-1 words words a = 2 a = a 2 minutes cards a = 2 a = a 2cm cycles a / = 2a = a / 2a / 2a / 2a = a / 2% accounta% = 2a = a% 2
Relational operator
Operator remarks = equal to! = not equal > greater than = greater than or equal to
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 226
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.