Python3-Learning-Notes-1
I. Introduction to Python3
To make a few points useful for programming
Python is a high-level programming language with the following features:
Easy to learn and use: Python is open source and has a concise syntax, clear language structure, and a relatively small number of keywords.Python’s code is highly readable, and blocks of code are indented, which makes the structure of the code clearer.
No Compilation: Python is an interpreted language, which means that there is no compilation in the development process. It is similar to PHP and Perl.
Cross-platform: Python can run on multiple operating systems, including Windows, macOS, Linux, etc., so it is very cross-platform.
Multi-purpose: Python is a general-purpose programming language that can be used for a variety of different types of applications, including web development, data analytics, scientific computing, artificial intelligence, automation scripting, game development, etc. Python has a rich set of libraries and frameworks that support a variety of different areas of development.
Rich Standard Library: Python comes with an extensive standard library that includes modules for file manipulation, network communication, database connectivity, graphical interface development, and more. These modules make it easier to write complex applications.
Dynamically Typed: Python is a dynamically typed language, which means that you don’t need to explicitly declare the data type of a variable; the interpreter automatically recognizes the type. This makes writing code more flexible, but you need to watch out for type errors.
Object-Oriented Programming: Python supports Object-Oriented Programming (OOP), which means that you can use classes and objects to organize and manage your code, making it more modular and maintainable.
Interactive: Python is an interactive language, allowing you to execute code directly after a Python prompt >>> and get the results, interactively testing and debugging code snippets.
GUI Programming: Python supports GUIs that can be created and ported to many system calls.
Portable and embeddable: If you need a piece of critical code that runs fast, or want to write algorithms that you don’t want to open up, you can do that part of the program in C or C++ and then call it from your Python program. You can also embed Python into a C/C++ program, giving users of your program the ability to “script” it.