Hello everyone, this article will focus on how to use python to make a small program. The process of making a small program in python is something that many people want to understand. If you want to figure out how to write a small program in python, you need to understand the following things first. .
Operate in windows environment
window+R enter cmd to create a folder mkdir pytxt
Create a py file py.py and edit it with tools such as notepad or notepad.
or
First of all, it is declared that there will be no Chinese garbled characters after python3.5, and it already supports Chinese, just like Java's jdk1.6 and later support Chinese.
Enter the python interactive environment and then perform data operations. The following commands are simple addition, subtraction, multiplication, and division.
Let’s take a look at the Chinese operation of python2.0 version
Python Chinese coding
Python2.0 outputs "Hello, Wor