"Kent Johnson" <[EMAIL PROTECTED]> wrote

> You can find out where any module is located using its __file__
> attribute. This works for modules written in C, too.

But not on Windoze. If it's built-in there is no __file__ attribute.
But the print trick tells you if it's builtin and if it's not __file__ 
works.

Alan G.


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to