[Tutor] Regarding python function arguments
Arijit Ukil
arijit.ukil at tcs.com
Tue Jun 11 10:54:10 CEST 2013
i am writing following python function:
def my_func (arg1, arg2, arg3):
however, I am not always going to pass all the arguments. sometimes only
arg1 is passed, sometimes arg1 and arg2 are passed; sometimes arg1, arg2,
arg3 are passed.
How can i manage this?
Regards,
Arijit Ukil
Tata Consultancy Services
Mailto: arijit.ukil at tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Consulting
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20130611/5bf0eacb/attachment.html>
More information about the Tutor
mailing list