import problem
Adam Hupp
hupp at cs.wisc.edu
Tue Apr 29 13:23:55 EDT 2003
On Tue, Apr 29, 2003 at 09:51:47AM -0700, Vince Buonassisi wrote:
> daniel,
>
> thanks for the response. i am new to python. i inherited a project
> that was written in python from someone who left the company. he was
> also the only python programmer here.
>
> i have been trying to find information about those __init__.py/pyc
> files that i see laying around and how they relate to running the
> python scripts. all of them are empty except for the compiled ones.
> can you point me to a source that will give me an explanation about the
> purpose of this file, __init__.py. i have been unable to find an
> explanation for this file.
>
> the test directory was missing the __init__.py file. i put an empty
> one in there and my script ran just fine.
See http://www.python.org/doc/2.2.1/tut/node8.html#SECTION008400000000000000000
-Adam
More information about the Python-list
mailing list