- 1. The first type cmd to open the console
- 2. The default is the C drive, type d: or e: switching to a disk file storage python
- 3. Type cd space, and then copy the file storage location python attached to the back of the space cd
- 4. Finally to enter python, then a space, then enter the full name of the py file (remember to enter .py) to run the program py
How to use the console to run python program
Guess you like
Origin www.cnblogs.com/wypy520/p/11125458.html
Recommended
Ranking