On Apr 7, 2:52 pm, Manuel Graune <[EMAIL PROTECTED]> wrote:
> "7stud" <[EMAIL PROTECTED]> writes:
>
> > What book are you reading?
>
> I worked my way through most of the online-docs. A bit to casual
> obviously.
>
See the online tutorial's section on default function arguments here:
http://docs.
"7stud" <[EMAIL PROTECTED]> writes:
>
> What book are you reading?
>
I worked my way through most of the online-docs. A bit to casual
obviously.
As printed desktop-reference I use a german book called
"Python ge-packt".
--
A hundred men did the rational thing. The sum of those rational choic
On Apr 6, 1:23 am, Manuel Graune <[EMAIL PROTECTED]> wrote:
> Hello Gabriel, hello William,
>
> thanks to both of you for your answers. I seem to need a
> better book about python.
>
What book are you reading?
--
http://mail.python.org/mailman/listinfo/python-list
Hello Gabriel, hello William,
thanks to both of you for your answers. I seem to need a
better book about python.
Regards,
Manuel
"Gabriel Genellina" <[EMAIL PROTECTED]> writes:
> class new_class(object):
> def __init__(self, internal_list=None):
> if internal_list is None:
>
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Manuel Graune
Sent: Thursday, April 05, 2007 12:14 PM
To: python-list@python.org
Subject: Objects, lists and assigning values
Hello,
while trying to learn how to program using objects in python (up to now
En Thu, 05 Apr 2007 14:13:43 -0300, Manuel Graune <[EMAIL PROTECTED]>
escribió:
> class new_class(object):
> def __init__( self,
> internal_list=[]):
> self.internal_list= internal_list
All your instances share the *same* internal list, because
Hello,
while trying to learn how to program using objects in python (up to now
simple scripts were sufficient for my needs) I stumbled over the
a problem while assigning values to an object.
The following piece of code shows what I intend to do:
<---snip--->
class new_class(object):
de