> __builtins__ = {'__import__': ximport} > f = now.strftime > print f("%m %Y")
You can get this directly if you use -v. Calling strftime imports the time module >>> print now.strftime("%m %Y") dlopen("/usr/lib/python2.5/lib-dynload/time.so", 2); import time # dynamically loaded from /usr/lib/python2.5/lib-dynload/time.so -- ~noufal _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers