How to find the package a module belongs to ?

Sasa Zivkov sasha at spuni.is
Wed May 30 11:44:53 EDT 2001


I have a package containing several modules.
Is is possible, within a module, to say "give me the package I belong to" ?

Or, is there a way to access objects defined in __init__.py from a module
without explicitly referencing surounding package by name ?

-- Sasa




More information about the Python-list mailing list