Re: Current module reference

2006-08-16 Thread Steve Holden
Miguel Galves wrote: > Hi > > How do I get a reference for the current module I'm in ? > I have a package called services with a __init__.py > that need to use getattr() to fill out a hash whith > my package attributes. But to use getattr, I need > a object that references my package (kind of this

Current module reference

2006-08-16 Thread Miguel Galves
HiHow do I get a reference for the current module I'm in ?I have a package called services with a __init__.pythat need to use getattr() to fill out a hash whithmy package attributes. But to use getattr, I need a object that references my package (kind of this this reference in Java).How can I do it