"Lance Haig" <[EMAIL PROTECTED]> wrote >I am debugging a script that was written by someone else and I was > wondering if there is a way to determine where a function or module > is > imported from
>>> import time >>> print time <module 'time' from '/usr/lib/python2.4/lib-dynload/time.dll'> >>> time.__file__ '/usr/lib/python2.4/lib-dynload/time.dll' >>> HTH, -- Alan Gauld Author of the Learn to Program web site http://www.freenetpages.co.uk/hp/alan.gauld _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
