Python differs from Windows and Linux. There is no more process under window. Linux under the can.
There are many types of python. CPython (official, written in C), Jython. Ironyhon .... For example, Jython is compiled by Java, and the corresponding bytecode is compiled. Languages are in Python format. Just the Interpreter (virtual machine) is not the same.
The python interpretation process reads code by default in ASCII code. Easy to cause read failure.
Unicode at least 2 bytes indicates that it can be expressed in Chinese and cannot be read from the hard disk. Utf-8 at least 1 bytes, saving space, classifying characters and being able to read from the hard disk. Chinese with 3 bytes.
python3.0 jumps directly from 2.4. Released prior to 2.7. 2.6 Compatible with 2.4,3.0. 2.7 is over to 3.0.
Python comment, single line comment #, multiline comment "" "Content" ""
Capture parameter Print SYS.ARGV
The first time the module is called, A. PYc bytecode file is generated. Use this. pyc file later.
Byte codes can be deserialized. Even the DLL files generated by C # can be.
9.. py and. PYc in the same case (without modification), Python overrides the call. PYc
This article is from the "Runaway Mustang" blog, please be sure to keep this source http://10846992.blog.51cto.com/10836992/1758904
Python learning process One