Pythonddr3 Ddr3
unread,Feb 9, 2012, 10:29:39 PM2/9/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to winpexpect
hi,all,
i am a new python user,who can help to solve this issues?
PythonWin 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit
(Intel)] on win32.
Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin'
for further copyright infor
>>>
>>> from winpexpect import winspawn
>>> child = winspawn('dir')
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
NameError: name 'winspawn' is not defined
>>> c=winspawn("ls")
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
NameError: name 'winspawn' is not defined
>>> c=winspawn('powershell')
Traceback (most recent call last):
File "<interactive input>", line 1, in <module>
NameError: name 'winspawn' is not defined
>>>