Jeremy Sanders wrote:

On Tue, 7 Jun 2005, James Graham wrote:

It might well be because the __init__.py files don't define __all__ which AFAIK is needed for locating modules in Windows. If so this should be trivial to fix.


Didn't know they needed __all__...

Actually it looks like you only need it if you do "from module import *"[1] - I was under the impression that Windows needed it in general.

[1] http://www.python.org/doc/2.3.3/tut/node8.html#SECTION008410000000000000000



--
"But if science you say still sounds too deep,
Just do what Beaker does, just shrug and 'Meep!'"

-- Dr. Bunsen Honeydew & Beaker of Muppet Labs


Répondre à