Think that you can call you class as you want.
If you use CamelCase notation than you are pro programmer?
These are just conventions for better code reading and understanding,
if I wanna call mYCLasS() python don't report an error, so I think
it's useless discuss in that thread about that stuff.
On Jul 22, 6:54 pm, Karim wrote:
> You're right. Sure the method header is evaluated first I usually not
> fall in this trap when default is a list but a singleton one with the same
> id.
> I answered too fast, I did not understand if he forget the dot or what.
> And the double '_' in init was str
On Jul 22, 5:43 pm, "bruno.desthuilli...@gmail.com"
wrote:
> On Jul 22, 1:12 pm, caccolangrifata wrote:
>
> Totally OT but others already answered the question...
>
> > class foo(object):
>
> class names should start with an uppercase letter:
>
> class
On Jul 22, 1:33 pm, Thomas Jollans wrote:
> On 22/07/11 13:12, caccolangrifata wrote:
>
> > I'm very very new with python, and I have some experience with java
> > programming, so probably you guys will notice.
> > Anyway this is my question:
> > I'
I'm very very new with python, and I have some experience with java
programming, so probably you guys will notice.
Anyway this is my question:
I'd like to use class scope vars in method parameter, something like
that
class foo(object):
__init__(self, len = 9):
self.__myvar