[Tutor] compiling python into an executable

2007-04-27 Thread Stevie Broadfoot
what is a good program to make an executable for all platforms. Like i know py2app is for osx and py2exe is for windows or something like that, but what can I use for linux, windows and macosx. Or does there not exist such a program? I'm on ubuntu edgy eft at the moment. __

Re: [Tutor] Feeding a list into a function as arguments

2007-04-26 Thread Stevie Broadfoot
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? On 4/27/07, Stevie Broadfoot <[EMAIL PROTECTED]> wrote: This is the best answer i've gotten so far... but its still

Re: [Tutor] Feeding a list into a function as arguments

2007-04-26 Thread Stevie Broadfoot
f the list into the function... and this is to be applied to different functions with different numbers of arguments needed. On 4/26/07, Andreas Kostyrka <[EMAIL PROTECTED]> wrote: * Stevie Broadfoot <[EMAIL PROTECTED]> [070426 09:56]: >I have a list... say for example > >

[Tutor] Feeding a list into a function as arguments

2007-04-26 Thread Stevie Broadfoot
I have a list... say for example list = ["hello", "there"] and i have a function def printout(firstword, secondword): print firstword print secondword and i want to call the function like this printout(list) but that doesnt work because it takes the list as an argument. How can I get