| | |
argument passing :/
![]() |
Hi everyone. I'm having a little trouble trying to understand what argument passing really is. I know that it 'passes' arguments, but what does that actually mean and how can you use it to my advantage?
ex:
so what does that actually do?
ex:
Python Syntax (Toggle Plain Text)
def New(spam,n=1):
so what does that actually do?
•
•
Join Date: Dec 2006
Posts: 1,008
Reputation:
Solved Threads: 285
This online book has a good explanation of arguments http://en.wikibooks.org/wiki/Python_...ming/Functions After that, the best way to learn is to try a few things yourself, print the results, and see what is happening.
![]() |
Similar Threads
- Passing Structures by Reference (C++)
- Multiple argument passing (Python)
- Problem with execv argument passing (C++)
- passing a vector to a function? :errors: (C++)
- C++ BASICS ==> Pointers, Call by Reference/Value, Inheritance, Functions & Arrays (C++)
- Passing arguments to jsp file (Java)
- passing arrays in visual basic (Visual Basic 4 / 5 / 6)
Other Threads in the Python Forum
- Previous Thread: Using urllib2 to post data
- Next Thread: Removing duplicates from list in slightly different case
| Thread Tools | Search this Thread |
accessdenied advanced apache application argv array beginner book change command converter countpasswordentry csv curved dan08 def dictionary dynamic edit enter event examples file float format function google gui homework import inches input jaunty java keyboard lapse library line lines linux list lists loop microphone mouse movingimageswithpygame mysqlquery newb number numbers numeric obexftp output parameters parsing path phonebook plugin port prime programming projects py2exe pygame pygtk pyopengl python random recursion redirect remote return reverse scrolledtext session simple skinning software sprite statictext string strings syntax terminal text threading time tlapse trick tuple tutorial ubuntu unicode unit urllib urllib2 variable voip wordgame wxpython






