Discuss / Python / 我这里换盘 换不了

我这里换盘 换不了

Topic source

SyntaxError: invalid syntax

cd /d d: File "<stdin>", line 1 cd /d d: ^ SyntaxError: invalid syntax

SyntaxError: invalid character in identifier cd /d Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'cd' is not defined cd d: File "<stdin>", line 1 cd d: ^ SyntaxError: invalid syntax

秦庆顺

#2 Created at ... [Delete] [Delete and Lock User]

请问这是没退出Python,就执行了切换盘的操作?

若非亦心

#3 Created at ... [Delete] [Delete and Lock User]

windows下没有根目录 /的概念,然后切换盘符的命令是D:


  • 1

Reply