Determining caller's file and line number

David Abrahams dave at boost-consulting.com
Wed Jun 23 23:30:37 CEST 2004


Is there any way to determine the file and line number (if any) of a
method's invocation from within its body?

Many Thanks in advance,

Dave
--
David Abrahams
Boost Consulting
http://www.boost-consulting.com



More information about the Python-list mailing list