如何在Windows 7上使用python创建RAS电话簿条目?
问题描述:
我使用win32ras
和Python 3.1
在Windows 7如何在Windows 7上使用python创建RAS电话簿条目?
的错误是:
Traceback (most recent call last):
File "<pyshell#6>", line 1, in <module>
win32ras.EditPhonebookEntry(0, None, "NewEntry")
pywintypes.error: (120, 'RasEditPhonebookEntry', 'This function is not supported on this system.')
有没有其他办法,我能做到吗?如果有任何这样的库存在,我可以切换到Python2.x
。
你如何使用这种形式的Python?你能举一个例子吗? – Mawg