[Tutor] how to run pdb in idle

=?gb2312?B?zPrKrw==?= winglion at 21cn.com
Fri Aug 12 16:17:48 CEST 2005


  I am a newbie to python.I use pdb in command
line quite well. In idle, I open the tree.py file, and type:
>>>pdb.run('tree.py')
> <string>(1)?()
(Pdb) l
[EOF]
(Pdb) list 10
[EOF]
(Pdb) 
As you see, it didn't work as it was in comand line.
  Can some body tell me why?  
(tree.py was a file download from net,that runs well,I just try to 
get understand how it work.)



¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡winglion at 21cn.com
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2005-08-12



More information about the Tutor mailing list