How can a module know the module that imported it?

Aahz aahz at pythoncraft.com
Wed Nov 11 22:12:26 CET 2009


In article <hdf63i$cmp$1 at reader1.panix.com>, kj  <no.email at please.post> wrote:
>
>The subject line says it all.

You are probably trying to remove a screw with a hammer -- why don't you
tell us what you really want to do and we'll come up with a Pythonic
solution?
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

[on old computer technologies and programmers]  "Fancy tail fins on a
brand new '59 Cadillac didn't mean throwing out a whole generation of
mechanics who started with model As."  --Andrew Dalke



More information about the Python-list mailing list