Opening a python file in the cmd command line window shows that access is denied

When I first started learning python, I encountered various problems


Cmd command line directory switching instruction:

Open a folder under the current path: cd file name (cd lowercase, there is a space between cd and file name)

Return to the previous directory: cd ..

Return to the root directory: cd/


Opening the python file with the cmd command line window shows that access is denied (the same is true for administrator mode entry) as shown below:

unknown reason


solution:

The directory where the file is located->more file name->python file name

Guess you like

Origin blog.csdn.net/ZZZZ_Y_/article/details/116431709