actually scrap that, it works perfectly :) thank you very much for your help. One last question, does this only work on lists? or will tuples work too and what else?<br><br><div><span class="gmail_quote">On 4/27/07, <b class="gmail_sendername">
Stevie Broadfoot</b> <<a href="mailto:coollikestevie@gmail.com">coollikestevie@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This is the best answer i've gotten so far... but its still not working...<br><br>what exactly does the star do?<br><br>the other solutions people provided do not suit my needs, my printout function was just an example, what i need it for is more complicated.
<br>I actually just need to feed the members of the list into the function... and this is to be applied to different functions with different numbers of arguments needed.<div><span class="e" id="q_1122e31a6061cd4b_1"><br>
<br><div><span class="gmail_quote">On 4/26/07,
<b class="gmail_sendername">Andreas Kostyrka</b> <<a href="mailto:andreas@kostyrka.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">andreas@kostyrka.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
* Stevie Broadfoot <<a href="mailto:coollikestevie@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">coollikestevie@gmail.com</a>> [070426 09:56]:<br>> I have a list... say for example
<br>><br>> list = ["hello", "there"]
<br>><br>> and i have a function<br>><br>> def printout(firstword, secondword):<br>> print firstword<br>> print secondword<br>><br>> and i want to call<br>><br>> the function like this
<br>><br>> printout(list)<br>printout(*list)<br><br>Andreas<br></blockquote></div><br>
</span></div></blockquote></div><br>