Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.021 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'suppose': 0.07; 'already.': 0.09; 'python': 0.11; 'arg': 0.16; 'args:': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'all,': 0.19; 'skip:f 30': 0.19; 'aug': 0.22; 'specify': 0.24; 'header:In-Reply-To:1': 0.27; 'function': 0.29; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; '25,': 0.31; 'me?': 0.32; 'call.': 0.33; 'received:google.com': 0.35; 'there': 0.35; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'dear': 0.65; 'link:': 0.72; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WhXZw5tsYvouz3KhfTUugBcCtkuD3T8eBnPaHe+FgGE=; b=vgZ5iEqfFX6t1oJCXzGntoNKcX4nJ8DNXP7PeyTbhTEkPAPY8FgTyjAQITXCjJRSkI ZlWH/Gg+SAS6n6zSKQFUUkO9sqmXUCzQgnsOiM/HiKEqteZAPzjIDIYEUw5UU0lYHX10 hF/wfkooDN/Ij8L1QB2VCqWBJio11qB5NP1jKORmS4dqYvI1pZGAXsQkXDfP/UcG02hf OG8brt92pdlJSCZAXrG70guh3opXBMQR232DkMsw3A7mG28bDOgLFpU6R/gU1yKg2ubS faLoJ/4sfh1wrsFAQXOhuTIOis4cZDVitjyaFRZaFFtBTGRyh9dwyeBY3YjNRlfCUZnR 5sRQ== MIME-Version: 1.0 X-Received: by 10.52.103.35 with SMTP id ft3mr7595114vdb.5.1377423351244; Sun, 25 Aug 2013 02:35:51 -0700 (PDT) In-Reply-To: <1377423203.6069.17.camel@debian> References: <1377423203.6069.17.camel@debian> Date: Sun, 25 Aug 2013 19:35:51 +1000 Subject: Re: cpmplex function call From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1377423359 news.xs4all.nl 15931 [2001:888:2000:d::a6]:56819 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:52973 On Sun, Aug 25, 2013 at 7:33 PM, Mohsen Pahlevanzadeh wrote: > Dear all, > > > Suppose I have function with with 10 > args: > > "def foo(arg1,arg2,arg3,arg4.....): " > > I need to call somtimes with arg1 , somtimes arg1, arg4, , somtimes arg 4 , arg7 , my program doesn't specify to type of call. > > Does python same way to help me? > > My link: > http://stackoverflow.com/questions/18427564/order-of-parameters-of-function-call-of-python > --mohsen You seem to have some good answers there already. What don't you understand about those answers? Follow up with them. ChrisA