| | |
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 |
abrupt accessdenied anti apache application approximation argv array beginner book builtin calculator change converter countpasswordentry curved dan08 dictionaries dictionary dynamic edit enter examples file float format function gui heads homework import inches input java keyboard lapse launcher library line lines linux list lists loop microphone mouse movingimageswithpygame mysqlquery newb number numbers numeric output parameters parsing path phonebook plugin port prime programming projects py2exe pygame pyopengl python random recursion redirect remote reverse scrolledtext session simple software sprite statictext string strings syntax table terminal text textarea thread threading time tlapse trick tuple tutorial twoup ubuntu unicode unit urllib urllib2 variable wordgame wxpython






