How do I access a main frunction from an import module?

Bjoern Schliessmann usenet-mail-0306.20.chr0n0ss at spamgourmet.com
Fri Nov 24 11:33:53 EST 2006


Jim wrote:

> I have created an import module.  And would like to access a
> function from the main script, e.g.,

May I ask why? This style violates "normal" module philosophy.

Regards,


Björn

-- 
BOFH excuse #307:

emissions from GSM-phones




More information about the Python-list mailing list