>
> Perhaps you could move further discussions to comp.lang.piethun?
>
Fair enough. Will contain PIEthun discussion to the PIEthun mailing
list and the aforementioned newsgroup once it is established.
It suddenly dawned on me while rereading my defense of my use of the
term "array" that I w
TheFlyingDutchman wrote:
> On Sep 4, 1:53 pm, Steven D'Aprano <[EMAIL PROTECTED]
> cybersource.com.au> wrote:
>> On Mon, 03 Sep 2007 22:10:41 -0700, TheFlyingDutchman wrote:
>>> Well I did a search on "Python variable length arguments" and found a
>>> hit that seems to explain the *fields parameter
On Sep 4, 1:53 pm, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
> On Mon, 03 Sep 2007 22:10:41 -0700, TheFlyingDutchman wrote:
> > Well I did a search on "Python variable length arguments" and found a
> > hit that seems to explain the *fields parameter:
>
> > When you declare an ar
On Mon, 03 Sep 2007 22:10:41 -0700, TheFlyingDutchman wrote:
> Well I did a search on "Python variable length arguments" and found a
> hit that seems to explain the *fields parameter:
>
> When you declare an argment to start with '*', it takes the argument
> list into an array.
No it doesn't.
On Mon, 03 Sep 2007 22:00:28 -0700, TheFlyingDutchman wrote:
> I am trying to use a database written in Python called buzhug.
>
> In looking at some of the functions I see this prototype:
>
> def create(self,*fields,**kw):
>
> I am not clear on what the * and the ** are for or what they rep
Steve, Ben, Duncan,
Thanks for the replies.
TFD
--
http://mail.python.org/mailman/listinfo/python-list
TheFlyingDutchman <[EMAIL PROTECTED]> wrote:
> I am trying to use a database written in Python called buzhug.
>
> In looking at some of the functions I see this prototype:
>
> def create(self,*fields,**kw):
>
> I am not clear on what the * and the ** are for or what they
> represent. Or, wh
TheFlyingDutchman <[EMAIL PROTECTED]> writes:
> In looking at some of the functions I see this prototype:
> def create(self,*fields,**kw):
>
> I am not clear on what the * and the ** are for or what they
> represent.
It would seem, then, that you haven't followed the exercises in the
Python
TheFlyingDutchman wrote:
> Well I did a search on "Python variable length arguments" and found a
> hit that seems to explain the *fields parameter:
>
> When you declare an argment to start with '*', it takes the argument
> list into an array.
>
> def foo(*args):
> print "Number of arguments:",
Well I did a search on "Python variable length arguments" and found a
hit that seems to explain the *fields parameter:
When you declare an argment to start with '*', it takes the argument
list into an array.
def foo(*args):
print "Number of arguments:", len(args)
print "Arguments are: ", args
I am trying to use a database written in Python called buzhug.
In looking at some of the functions I see this prototype:
def create(self,*fields,**kw):
I am not clear on what the * and the ** are for or what they
represent. Or, what are they referred to as so I can do a query for
information
11 matches
Mail list logo