open the file with cmd

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
insert image description here
entering “cmd”
insert image description here
, cmd will pop up
insert image description here

cd command

For example, I want to run a.pythis fileinsert image description here

I will first use cmd to open to the D drive, then cut to the CODE folder, and finally, run
insert image description here
and you can see that the file has been run
insert image description here

Guess you like

Origin blog.csdn.net/qq_52109814/article/details/122127423