Am Freitag, 15. April 2005 06:44 schrieb chris patton:
> In other words, can I call the arguments from a list?

Yes.

>>> def testfunc(*args):
...   print args[0]
...   print args[1]
...
>>> testfunc("this is","a test")
this is
a test

Read up on positional and keyword arguments (the latter are something that'd 
make me choose python over anything else instantly) in the Python tutorial 
and documentation.

-- 
--- Heiko.
listening to: Pearl Jam - Given To Fly
  see you at: http://www.stud.mh-hannover.de/~hwundram/wordpress/

Attachment: pgpJHTrjaYbYA.pgp
Description: PGP signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to