"Philippe C. Martin" <[EMAIL PROTECTED]> writes:

> All of the methods from my program return None on error (i.e; I do not
> want to assert and have the program exit).
>
> Is it possible to print the current source file name/line number ?

Someone else posted an example using an exception handler.  See
also the traceback module.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to