Re: Directly Executable Files in Python

2011-03-30 Thread Raymond Hettinger
On Mar 28, 8:37 pm, Jordan Meyer wrote: > Is it possible to make a directly executable (such as .exe on Windows) file > from scripts written in Python? So as to prevent the end-user from having to > download an interpreter to run the program. http://docs.python.org/faq/programming.html#how-can-

Re: Directly Executable Files in Python

2011-03-30 Thread eryksun ()
On Tuesday, March 29, 2011 3:51:30 AM UTC-4, Paul Rudin wrote: > Benjamin Kaplan writes: > > > If you can figure out a good way to compile a language like Python, > > you'll be very rich. Yes, it is running the interpreter and then > > running the bytecode on the interpreter. It's the same way Ja

Re: Directly Executable Files in Python

2011-03-29 Thread CM
On Mar 29, 12:16 am, harrismh777 wrote: > Chris Rebert wrote: > > Yes. py2exe is a tool which generates such Windows executables: > >http://www.py2exe.org/ > > Interesting... but it can't possibly be creating .exe files > (compiling)... I don't buy it... it has to be reproducing the byte code > in

Re: Directly Executable Files in Python

2011-03-29 Thread CM
> it has to be reproducing the byte code > interpreter in the code segment and the byte code in the data segment... > so that each .exe file created by said process is actually loading an > entire copy of at least the byte code interpreter with each program > "compiled" ... Yes, if you think of i

Re: Directly Executable Files in Python

2011-03-29 Thread Grant Edwards
On 2011-03-29, harrismh777 wrote: > Chris Rebert wrote: >> Yes. py2exe is a tool which generates such Windows executables: >> http://www.py2exe.org/ > > Interesting... but it can't possibly be creating .exe files It is. > (compiling)... It isn't. > I don't buy it... Then don't. > it has to b

Re: Directly Executable Files in Python

2011-03-29 Thread Ethan Furman
harrismh777 wrote: Chris Rebert wrote: Yes. py2exe is a tool which generates such Windows executables: http://www.py2exe.org/ Interesting... but it can't possibly be creating .exe files (compiling)... Yes and no. The python program is not being compiled. The Python system, along with all

Re: Directly Executable Files in Python

2011-03-29 Thread Paul Rudin
Benjamin Kaplan writes: > If you can figure out a good way to compile a language like Python, > you'll be very rich. Yes, it is running the interpreter and then > running the bytecode on the interpreter. It's the same way Java and > .NET work. Not exactly AIUI. .NET bytecodes do actually get co

Re: Directly Executable Files in Python

2011-03-28 Thread Benjamin Kaplan
On Tue, Mar 29, 2011 at 12:16 AM, harrismh777 wrote: > Chris Rebert wrote: >> >> Yes. py2exe is a tool which generates such Windows executables: >> http://www.py2exe.org/ > > Interesting... but it can't possibly be creating .exe files (compiling)... I > don't buy it... it has to be reproducing the

Re: Directly Executable Files in Python

2011-03-28 Thread harrismh777
Chris Rebert wrote: Yes. py2exe is a tool which generates such Windows executables: http://www.py2exe.org/ Interesting... but it can't possibly be creating .exe files (compiling)... I don't buy it... it has to be reproducing the byte code interpreter in the code segment and the byte code in t

Re: Directly Executable Files in Python

2011-03-28 Thread Chris Rebert
On Mon, Mar 28, 2011 at 8:37 PM, Jordan Meyer wrote: > Is it possible to make a directly executable (such as .exe on Windows) file > from scripts written in Python? So as to prevent the end-user from having to > download an interpreter to run the program. Yes. py2exe is a tool which generates s

Directly Executable Files in Python

2011-03-28 Thread Jordan Meyer
Is it possible to make a directly executable (such as .exe on Windows) file from scripts written in Python? So as to prevent the end-user from having to download an interpreter to run the program. -- http://mail.python.org/mailman/listinfo/python-list