Python is a programming language written by the famous "Uncle Turtle" Guido van Rossum during Christmas 1989 to send a boring Christmas.
Pros: Python provides us with a very well-developed base Code library Python code is simple and elegant, with less code
Disadvantage: Python is running slowly because Python is an explanatory language flood , and the code runs when it is translated into machine code and runs on the side. Unlike the C language, C is a compiled language, first compiled into machine code and then run. Python code cannot be encrypted, unlike the C language can be compiled to an. exe file, so all compiled languages do not have this problem, and the interpretation of the language, you must publish the source code.
What types of applications are Python suited to develop? The preferred is the Web application, including the website, the background service and so on, followed by many of the daily needs of the small tools, including the system administrator needs the script task and so on, the other language development programs are packaged again, easy to use.
Since the Python language is open source from spec to interpreter, many people have written their own Python interpreter, and eventually python has many kinds, such as: Cpython/ipython/pypy/jython/ironpython. But the most widely used is the CPython. If you want to interact with the Java or. NET platform, you can use network tuning to interact to ensure the independence of each program.
Python Input and output:
Output: Use print () to add a string to the parentheses, either with a single quotation mark or double quotation marks. There is no difference between single and double quotes here, but single quotes do not have to press shift to type a bit faster. When representing a string, double quotation marks can be used in single quotation marks instead of escaping characters and vice versa. print()You can also print an integer, or calculate the result.
Input: Python provides one that allows the input() user to enter a string and store it in a variable. Input () in parentheses can also be used to enter a string that input() lets you display a string to prompt the user. This is the equivalent of print (), and Python is really handy.
Python Learning Notes (i) Introduction