Docs for __init__.py?
Paul Prescod
paul at prescod.net
Sat Jul 15 06:26:52 EDT 2000
More information about the Python-list mailing list
Sat Jul 15 06:26:52 EDT 2000
- Previous message (by thread): python cookbook
- Next message (by thread): Docs for __init__.py?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Matthew Cline wrote: > ... > > Specifically, does the package name have to corespond to the > name of the directory that __init__.py is in? Or is there > some way for __init__.py to say "No, *this* is the name for the > package?" No, Python doesn't read the __init__.py until after it has found the package using the traditional lookup mechanisms. -- Paul Prescod - Not encumbered by corporate consensus It's difficult to extract sense from strings, but they're the only communication coin we can count on. - http://www.cs.yale.edu/~perlis-alan/quotes.html
- Previous message (by thread): python cookbook
- Next message (by thread): Docs for __init__.py?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list