Hello everyone, the editor will answer the following questions for you, the production process of making small programs in python, how to write small programs in python, let us take a look now!
Operate in the windows environment
window+R enter cmd to create a folder mkdir pytxt
Create a py file py.py and edit it with notepad or notepad
or
First declare that there is no Chinese garbled characters after python3.5, and Chinese is already supported, just like java's jdk1.6 supports Chinese. PHP and PYTHON : a detailed comparison based on syntax, functions, applications, etc.
Enter the python interactive environment and then perform data calculations. The following commands are simple addition, subtraction, multiplication, and division
Let's take a look at the Chinese operation of the python2.0 version
Python Chinese encoding
Python2.0 output "Hello, Wor