C:\Windows\System32>python C:\Users\邵\Desktop\1\hello.py
程序可以运行
C:\Windows\System32>C:\Users\邵\Desktop\1>python hello.py
拒绝访问。
C:\Windows\System32>python C:\Users\邵\Desktop\1\hello.py
程序可以运行
C:\Windows\System32>C:\Users\邵\Desktop\1>python hello.py
拒绝访问。
第二个命令行没有进入该程序所在的文件夹,需要先cd道文件夹里才可以