Python is an explanatory language: This means that the process of compiling is omitted, similar to Php\perl.
Python is an interactive language: This means that you can execute your program in a Python prompt directly interacting with the execution.
Python is a Face object language: This means that Python supports object-oriented style or code encapsulation in object programming techniques.
Two ways of programming Python:
1, interactive programming;
Interactive programming does not require the creation of a script file and is encoded through the interactive mode of the Python interpreter.
2. Script-type programming.
Invoking the interpreter from the script parameter begins execution of the script until the script finishes executing. When the script finishes executing, the interpreter is no longer valid.
Python identifiers can contain letters, numbers, underscores, but cannot start with a number.
Identifiers that begin with an underscore have a special meaning, starting with a single underscore (_foo) represents a class property that cannot be accessed directly, needs to be accessed through the interface provided by the class, cannot be imported with the From XXX import *, and a double underscore (__foo) represents a tired private member ; a __foo__ that begins and ends with a double underscore represents a special method-specific identifier for Python, such as __init__ (), which represents the constructor of a class.
Identifiers in Python are case-sensitive.
Woody's Python learning note 1