Beginner python 1

1, the computer first met
 
 
CPU: Central Processing Unit (brain)
 
 
Memory: temporary storage of data
 
 
Features: power disappears, a small capacity 12, 32
 
 
Hard disk: permanently store data
 
 
Features: power does not disappear, large capacity (500G, 1T, 2T)
 
 
Operating system: deployment of various computer hardware and software program running.
 
 
 
 
2: python Features:
 
 
Simple, elegant, object-oriented, rich library, interpretive language, scalable, free, open source, cross-platform
 
 
Author: turtle t-written 1989
 
 
 
3, IDLE: Integrated Development Environment
 
 
Integrated coding function, integrated analysis capabilities, compilation, debugging features such as software development services. All have this characteristic of software or software suite (group) can be called an integrated development environment.
 
 
python comes, pycharm, Notepad ++
 
 
 
4, cmd: dos command system corresponding to the command operation
 
 
Switching disc e: c:
 
 
Look at the directory dir + directory name
 
 
Change directory cd + directory name
 
 
help see cmd commonly used commands
 
 
 
5, three ways to run the python program:
 
 
It comes with IDLE
 
 
cmd, python e: \ a.py (file path)
 
 
pycharm
 
 
 
6, interpreter: (translator)
 
 
The computer does not recognize our code, need to be converted into binary machine code, the computer can recognize.
 
 
The default interpreter is Cpython, c language written
 
 
Prompt is >>>
 
 
 
Ipython auto-completion
 
 
Download command pip3 install Ipython
 
 
t prompt In [1]

 

Guess you like

Origin www.cnblogs.com/yx3445/p/11672548.html