question about importing a package

Chris Angelico rosuav at gmail.com
Thu Dec 6 00:18:01 EST 2012


On Thu, Dec 6, 2012 at 3:58 PM, Matt <matt at woodridgeadvisors.com> wrote:
> I have about 30 modules in my package (foos and bars) and I don't want 30 lines at the top of each file that uses this package. What am I doing wrong?

Not necessarily wrong, but definitely something to query: WHY do you
have thirty modules in your package? How big are your source files -
could you simply merge them into a single module?

ChrisA



More information about the Python-list mailing list