By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,846 Members | 1,862 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,846 IT Pros & Developers. It's quick & easy.

Is there pointer * in Python?

P: n/a
Hi all,

When I read "programming python", I found there is a code like
def parse(self, *text):
while text is a string. What's "*" mean?(Does it mean pointer like in
C?)

And I recall there is "**args" in Python, what's "**" mean?

Best regards,
Davy
Nov 23 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On Nov 23, 1:33 pm, Davy <zhushe...@gmail.comwrote:
When I read "programming python", I found there is a code like
def parse(self, *text):
And I recall there is "**args" in Python, what's "**" mean?
Unpacking Argument Lists - http://docs.python.org/tut/node6.htm...00000000000000

Nov 23 '07 #2

P: n/a
Hi!
like in C
Why think to C?
Why not Cobol? APL? Intercal?

For think right in Python, forget C, forget others languages, think
inside Python...

Michel Claveau
Nov 23 '07 #3

P: n/a
think inside Python...
Assuming you *can* think while being slowly crushed and digested :D

\d

Nov 23 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.