__init__.py

Jorgen Grahn grahn+nntp at snipabacken.dyndns.org
Tue Mar 27 11:00:02 CEST 2007


On Mon, 26 Mar 2007 08:27:19 +0200, Tina I <tinaweb at bestemselv.com> wrote:
> Tina I wrote:
>> When looking at other peoples code (to learn from it) I keep seeing an 
>> empty file named "__init__.py". What's the purpose of this?
>> 
>> Thanks
>> Tina
>
> Duh! Never mind... found it.
> Kinda neat actually :)

/What/ was neat? It's polite in cases like this to explain what the
answer or solution was.

I have never seen an empty __init__.py, and I'd like to know what its
purpose could be.

BR,
/Jorgen

-- 
  // Jorgen Grahn <grahn@        Ph'nglui mglw'nafh Cthulhu
\X/     snipabacken.dyndns.org>  R'lyeh wgah'nagl fhtagn!



More information about the Python-list mailing list