setting a breakpoint in the function of my module

2006-08-23 Thread Jason Jiang
Hi, I have two modules: a.py and b.py. In a.py, I have a function called aFunc(). I'm calling aFunc() from b.py (of course I import module a first). The question is how to directly set a breakpoint in aFunc(). The way I'm doing now is to set a breakpoint in b.py at the line to call aFunc(), 'c

setting a breakpoint in the module

2006-08-23 Thread Jason Jiang
Hi, I have two modules: a.py and b.py. In a.py, I have a function called aFunc(). I'm calling aFunc() from b.py (of course I import module a first). The question is how to directly set a breakpoint in aFunc(). The way I'm doing now is to set a breakpoint in b.py at the line to call aFunc(), 'c' t

Re: setting a breakpoint in the module

2006-08-23 Thread Jason Jiang
I'm using Python pdb module pdb.py. "Simon Forman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jason Jiang wrote: >> Hi, >> >> I have two modules: a.py and b.py. In a.py, I have a function called >> aFunc(). I'm calling aFu

Re: setting a breakpoint in the module

2006-08-23 Thread Jason Jiang
Great! It's working now. Thank you so much. Jason "Simon Forman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jason Jiang wrote: >> "Simon Forman" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> >

how to get file name of the running .py file

2006-08-23 Thread Jason Jiang
Hi, How to get the name of the running .py file like the macro _FILE_ in C? Thanks. Jason -- http://mail.python.org/mailman/listinfo/python-list

Re: how to get file name of the running .py file

2006-08-23 Thread Jason Jiang
Thank you guys. Jason "Simon Forman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Larry Bates wrote: >> Jason Jiang wrote: >> > Hi, >> > >> > How to get the name of the running .py file like the macro _FILE_ in C? >

Python editor

2006-08-24 Thread Jason Jiang
Hi, Could someone recommend a good Python editor? Thanks. Jason -- http://mail.python.org/mailman/listinfo/python-list

Re: Python editor

2006-08-24 Thread Jason Jiang
Thanks Simon. I finally picked SciTE. No time to do further investigation. Jason "Simon Forman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jason Jiang wrote: >> Hi, >> >> Could someone recommend a good Python editor? Thanks. >> &