2013-06-12 59 views
2

我使用win32rasPython 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

回答

0

如果你想创建一个电话簿条目,你可以使用RasSetEntryProperties

+0

你如何使用这种形式的Python?你能举一个例子吗? – Mawg