工作,我有下面的代码:Python和使用os.system
def display_keyboard(*_):
os.system(r'start " " C:\Program Files\Common Files\Microsoft Shared\ink\TabTip.exe')
的问题是,此代码运行时,我得到以下错误:
The system cannot find the file C:\Program.
我有工作了一个问题withespaces使其搜索整个文件
C:\Program Files\Common Files\Microsoft Shared\ink\TabTip.exe
你有机会阅读该功能的全部文件? –
你有没有试过'os.system(r'start“”“C:\ Program Files \ Common Files \ Microsoft Shared \ ink \ TabTip.exe'')'? –
将路径名称放在引号中。 –