Python Basic Tutorial (1): Introduction to Python

Python Basic Tutorial (1): Introduction to Python

1. What is Python?

Python is a popular programming language. It was created by Guido van Rossum and released in 1991.
It is used for:

  • Web开发(服务器端)
  • software development
  • math
  • system script

2. What can Python do?

  • You can use Python on the server to create web applications.
  • Python can be used with software to create workflows.
  • Python can connect to database systems. It can also read and modify files.
  • Python is available 用于处理大数据并执行复杂的数学运算.
  • Python can be used for rapid prototyping as well as production-ready software development.

3. Why choose Python

  • Python is available for different platforms (Windows, Mac, Linux, Raspberry Pi, etc.).
  • Python has a simple syntax similar to English.
  • Python's syntax allows developers to write programs with fewer lines of code than other programming languages.
  • In Python 解释器系统上运行, this means that code can be executed as soon as it is written. It also means prototyping can be very fast.
  • Python can be approached procedurally, object-orientedly, or functionally.

4. Comparison of Python syntax with other programming languages

  • Python was designed for readability, has some similarities to English, and is influenced by mathematics.
  • Python uses newlines to complete commands, unlike other programming languages ​​that typically use semicolons or parentheses.
  • Python 依赖缩进,使用空格来定义范围; such as scope for loops, functions, and classes. Other programming languages ​​often use curly braces for this purpose.

Guess you like

Origin blog.csdn.net/WwLK123/article/details/131220640
Recommended