Getting Started with Python and Advanced Learning

Companies with python: watercress know almost
understand the programming syntax is a prerequisite
proficiency necessary condition for good grammar is programmed process

Object-oriented
thinking

Lessons Learned

  Life is Simple, I Use Python  人生苦短,我用Python
  简介,优雅,灵活,哲学
  **Pythonic**
  很.Python

Python can do
reptiles large data processing and test Web AI script

US and Philosophy
Simple is better than complex.
Simple is better than complex
Now Within last never.Although of Better Never IS IS Often field of Better Within last right now
doing better than not also OK, but might as well do without thinking on the hands

Lead
Python Python and characteristics of
1.Python is a programming language, it's just one of many programming languages
2. The syntax is simple, elegant, easy to read programs written in.
3. Cross-platform that can run on Windows, Linux and MacOS
4. easy to learn.
the extremely powerful and rich standard library and third-party libraries, such as e-mail, such as graphical GUI interface
6.Python is object-oriented language (thought)

So many languages, why I like Python
1. Introduction, elegant, flexible, philosophy
2. easy to use difficult to master
3.Python that is dynamic scripting features, another object-oriented features, very own characteristics

Python drawback of
slower
compared to c, c ++. Java, operating efficiency slower
compiled language (c, c ++), interpreted languages (Javascript.Python)
partial bottom (machine language)
the Java and c # what type of
operating efficiency and development efficiency, can not have both fish and bear's paw

     适合的才是最好的.

A classic misunderstanding learn programming
world is not only web, there are many issues that need to use programming to solve, not limited to the programming on the Web
This is just an application programming direction

What Python can do (almost universal)?
1. reptiles
2. Big Data and data analysis (the Spark)
3. operation and maintenance of automation and automated test
4.Web development:. The Flask Django
5. Machine Learning: Tensor Flow
6. glue language : such as mixed with other C ++, java programming like

Basic grammar
basic grammar of any language is the basis of only the master can flexibly use language to write efficient, beautiful
clean code
Pythonic
Python syntax is very flexible and unique learning language must learn its style, characteristics, this is the language of
the essence .Python especially true
Python performance and optimize the
data structure is the basis

Too many frameworks, libraries too much, too much technology. Let us return to the nature of language and enjoy the sheer beauty of the language itself

What is the code ??

   代码是现实世界事务在计算机世界中的映射

What is to write code ??

写代码时将现实世界中的事务用计算机语言来描述

The basic data types Python

   Number: 数字
   整数,小数
   整数,浮点数

   整数:int
   浮点数:float

Here Insert Picture Description

pay attention:

2/2 type float 2 // 2 type is int

Python basic data types
Number: number
integer, decimal
integer, floating point

   整数:int
   浮点数:float
   bool布尔类型:表示真,假
   complex复数
            36j
   str字符串
             单引号,双引号,三引号
   转义字符
             特殊的字符
             无法"看见"的字符
             与语言本身语法有冲突的字符
            \n      换行
            \'        单引号
            \t        横向制表符
            \r        回车

Here Insert Picture Description

Published 68 original articles · won praise 15 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_42913025/article/details/103290151