> > I am looking for something like the caller() routine in Perl:
> >    http://perldoc.perl.org/functions/caller.html
>
> Look at the inspect module in Python's standard library.
Or is you're feeling lazy, have a look at the "here" function found in
http://www.unixreview.com/documents/s=9133/ur0404e/ur0404e_listing1.htm

--
Miki
http://pythonwise.blogspot.com

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to