Pierre-Alain Dorange a écrit :
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
I try the staticmethod, it works fine. Very helpful.
But i don't like it very much, it seems 'complicated' (python was
supposed to be simple).
Try doing the same thing in C++ !-)
OK ;-)
I just ask myself what was
Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> > I try the staticmethod, it works fine. Very helpful.
> >
> > But i don't like it very much, it seems 'complicated' (python was
> > supposed to be simple).
>
> Try doing the same thing in C++ !-)
OK ;-)
I just ask myself what was the best metho
On 2 juil, 18:40, Cédric Lucantis <[EMAIL PROTECTED]> wrote:
> > > I'll also try the dictionnary method.
> > > My final idea was that a dictionnary would be perhaps simple in the
> > > future to save/load as XML and a parser.
> > XML ? What a strange idea ?
>
> Why is it so strange ?
It was kind o
> > I'll also try the dictionnary method.
> > My final idea was that a dictionnary would be perhaps simple in the
> > future to save/load as XML and a parser.
> XML ? What a strange idea ?
Why is it so strange ? Many softs have their config in xml, and the xml.*
modules are not that hard to use.
Pierre-Alain Dorange a écrit :
Cédric Lucantis <[EMAIL PROTECTED]> wrote:
Here self is only a local variable and its meaning is only a convention. So
assigning it to a new value won't change the object itself (and is not a good
idea as it may be confusing for the reader).
Thanks, i was thinki
Cédric Lucantis <[EMAIL PROTECTED]> wrote:
> Here self is only a local variable and its meaning is only a convention. So
> assigning it to a new value won't change the object itself (and is not a good
> idea as it may be confusing for the reader).
Thanks, i was thinking about something like that.
Le Wednesday 02 July 2008 16:09:07 Pierre-Alain Dorange, vous avez écrit :
> Hello,
>
> I'm new to python and i'm deelopping a small game with pygame.
> I got lot of fun with python.
>
> Trying to implement a config file to save user score and config.
> Reading doc and some tutorial about file hand
Hello,
I'm new to python and i'm deelopping a small game with pygame.
I got lot of fun with python.
Trying to implement a config file to save user score and config.
Reading doc and some tutorial about file handling i read about pickle,
and yes it's very easy to implement.
But i thought i miss som