first step
cmd is the abbreviation of command. That is, the command line
(after reading the blog for a long time, I didn’t understand whether this command line is related to the operating system or what’s going on, but it’s very easy to use hahaha)
Shortcut key: after windows+R
entering “cmd”
, cmd will pop up
cd command
For example, I want to run a.py
this file
I will first use cmd to open to the D drive, then cut to the CODE folder, and finally, run
and you can see that the file has been run