471,337 Members | 1,057 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Is there pointer * in Python?

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
3 1146
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
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
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.

Similar topics

9 posts views Thread by Chris Jankowski | last post: by
reply views Thread by willievdm | last post: by
41 posts views Thread by Summercool | last post: by
2 posts views Thread by Jean-Paul Calderone | last post: by
reply views Thread by Philip Semanchuk | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.