Done. thanks guys.
On Thu, Sep 11, 2014 at 2:43 PM, Danny Yoo wrote:
> > On Thu, Sep 11, 2014 at 2:09 PM, Peter Otten <__pete...@web.de> wrote:
> >>
> >>
> >> You can explode the list by invoking the function with
> >>
> >> fetch_users(*my_list) # prepend the list with a star
> >>
> >> but I rec
> On Thu, Sep 11, 2014 at 2:09 PM, Peter Otten <__pete...@web.de> wrote:
>>
>>
>> You can explode the list by invoking the function with
>>
>> fetch_users(*my_list) # prepend the list with a star
>>
>> but I recommend that you change the function's signature to
>>
>> def fetch_users(steamids):
>>
On Thu, Sep 11, 2014 at 2:07 PM, Danny Yoo wrote:
>
>
> Hi Juan,
>
> You have a "var-arity" function called fetch_users(), and you'd like
> to apply it with an explicit list of arguments "my_list".
>
> In this case, you want to use the application operator:
>
>
> https://docs.python.org/2/tutorial
Juan Christian wrote:
> Let's say I have the following list: my_list = ['76561198048214059',
> '76561198065852182', '76561198067017670', '76561198077080978',
> '76561198077257977', '7656119807971
> 7745', '76561198088368223', '76561198144945778']
>
> and I have a function with the following signa
On Thu, Sep 11, 2014 at 9:42 AM, Juan Christian
wrote:
> Let's say I have the following list: my_list = ['76561198048214059',
> '76561198065852182', '76561198067017670', '76561198077080978',
> '76561198077257977', '7656119807971
> 7745', '76561198088368223', '76561198144945778']
>
> and I have a f
Let's say I have the following list: my_list = ['76561198048214059',
'76561198065852182', '76561198067017670', '76561198077080978',
'76561198077257977', '7656119807971
7745', '76561198088368223', '76561198144945778']
and I have a function with the following signature: def
fetch_users(*steamids)
U