George Sakkis <[EMAIL PROTECTED]> writes:
> '''
> The __init__.py files are required to make Python treat the
> directories as containing packages; this is done to prevent
> directories with a common name, such as "string", from
> unintentionally hiding valid modules that occur later on the module
On Oct 10, 9:26 pm, jay graves <[EMAIL PROTECTED]> wrote:
> On Oct 10, 7:17 pm, amit <[EMAIL PROTECTED]> wrote:
>
> > How do create my own modules and import them? Right now it works but
> > they all have to be in the same directory. For example,
>
> > project/
> > util/
> > config/
> > ...
On Oct 10, 7:17 pm, amit <[EMAIL PROTECTED]> wrote:
> How do create my own modules and import them? Right now it works but
> they all have to be in the same directory. For example,
>
> project/
> util/
> config/
> tests/
> start.py
>
You need an __init__.py file (it doesn't matter
Hi,
I recently wrote a fairly complex project in python. It works great
and it was completed fairly quickly thanks to python!
Anyways, I am in the process of cleaning the code/directory and I had
a simple question
How do create my own modules and import them? Right now it works but
they all