【发布时间】:2016-03-08 05:48:03
【问题描述】:
比如说在终端我做了cd Desktop,你应该知道它会将你移动到那个目录,但是我如何在 python 中做到这一点,但使用带有raw_input("") 的桌面来选择我的命令?
【问题讨论】:
-
您是在问如何在 Python 中通过 raw_input 执行 shell/cmd 命令吗?
-
查克洛根是正确的,谢谢你了解我的问题
-
Chuck Logan 我检查了一下,我看到没有 raw_input 的迹象
-
你使用的是python 2还是python 3?来自 python 2 的
raw_input现在在 python 3 中是input。
标签: python