noob import question

PA petite.abeille at gmail.com
Fri May 19 09:56:56 EDT 2006


On May 19, 2006, at 15:33, Diez B. Roggisch wrote:

> And it seems as if you have some JAVA-background, putting one class in 
> one
> file called the same as the class. Don't do that, it's a stupid 
> restriction
> in JAVA and should be avoided in PYTHON.

Restrictive or not, what's so fundamentally devious in putting a class 
declaration in a separate file whose name is that of the declared class 
(class Queue -> Queue.py)?

Sounds like a handy way of organizing your code, no?

Cheers

--
PA, Onnay Equitursay
http://alt.textdrive.com/




More information about the Python-list mailing list