Re: executable builder

2011-12-12 Thread J A
I am having some issues compiling an exe myself but most of that stems from the version of python I am using. That being said, try using GUI2EXE http://code.google.com/p/gui2exe this program makes the setup file go a lot easier, also it will tie in a few different tools like py2exe which is wha

Re: Executable problem - socket?

2010-02-26 Thread Lawrence D'Oliveiro
In message , Gib Bogle wrote: > The only clue is that the machines that her program runs on have > Python installed, while the one that fails doesn't. Wouldn’t it be a whole lot simpler to install Python on the bloody machine? -- http://mail.python.org/mailman/listinfo/python-list

Re: Executable problem - socket?

2010-02-25 Thread Gib Bogle
MRAB wrote: You could try Dependency Walker: http://dependencywalker.com/ I have (belatedly) read the py2exe tutorial: http://www.py2exe.org/index.cgi/Tutorial#Step522 and learned about the msvcr90.dll issue. I haven't finished sorting this out yet, but I did find that running vcredist_x86.

Re: Executable problem - correction

2010-02-24 Thread Gib Bogle
Sean DiZazzo wrote: On Feb 24, 9:22 pm, Gib Bogle wrote: The program doesn't fail with the write error on the other XP machine, it actually fails to execute at all, complaining about the configuration information. Therefore I'm seeing different behaviour on three XP machines: Box 1 (SP2): run

Re: Executable problem - correction

2010-02-24 Thread Sean DiZazzo
On Feb 24, 9:22 pm, Gib Bogle wrote: > The program doesn't fail with the write error on the other XP machine, it > actually fails to execute at all, complaining about the configuration > information.  Therefore I'm seeing different behaviour on three XP machines: > > Box 1 (SP2): runs OK > Box 2 (

Re: Executable problem - correction

2010-02-24 Thread Gib Bogle
The program doesn't fail with the write error on the other XP machine, it actually fails to execute at all, complaining about the configuration information. Therefore I'm seeing different behaviour on three XP machines: Box 1 (SP2): runs OK Box 2 (SP3): fails to start Box 3 (SP3): starts up, a

Re: Executable problem - socket?

2010-02-24 Thread Gib Bogle
MRAB wrote: Gib Bogle wrote: Hi, My student has been developing a GUI (using PyQt and PyQwt) that runs a model written in Fortran and built as a DLL. She has to present on this work tomorrow. She makes an executable version of the Python code with py2exe, and the executable runs fine on her

Re: Executable problem - socket?

2010-02-24 Thread MRAB
Gib Bogle wrote: Hi, My student has been developing a GUI (using PyQt and PyQwt) that runs a model written in Fortran and built as a DLL. She has to present on this work tomorrow. She makes an executable version of the Python code with py2exe, and the executable runs fine on her Vista laptop

Re: Executable standalone *.pyc after inserting "#!/usr/bin/python" or other options

2010-01-15 Thread epsilon
On Jan 15, 8:32 am, schmeii wrote: > On Jan 14, 10:55 pm, epsilon wrote: > > > All: > > > I've been playing with "Lua" and found something really cool that I'm > > unable to do in "Python". With "Lua", a script can be compiled to byte > > code using "luac" and by adding "#!/usr/bin/lua" at the to

Re: Executable standalone *.pyc after inserting "#!/usr/bin/python" or other options

2010-01-15 Thread schmeii
On Jan 14, 10:55 pm, epsilon wrote: > All: > > I've been playing with "Lua" and found something really cool that I'm > unable to do in "Python". With "Lua", a script can be compiled to byte > code using "luac" and by adding "#!/usr/bin/lua" at the top of the > binary, the byte code becomes a singl

Re: Executable standalone *.pyc after inserting "#!/usr/bin/python" or other options

2010-01-14 Thread Martin v. Loewis
> This works great! Do you or anyone else have information on how to do > the same thing for Windows and/or Solaris. On Windows, just associate the .pyc extension with Python - the standard installation will already do that. On Solaris, I don't think something like this is supported. Regards, Ma

Re: Executable standalone *.pyc after inserting "#!/usr/bin/python"or other options

2010-01-14 Thread Lie Ryan
On 01/15/10 09:33, Martin v. Loewis wrote: > > P.S. The approach you present for Lua indeed does not work for > Python. Actually the approach should work, though with a little workaround; you can write your wrapper (e.g. #!/usr/bin/mypython) that simply strips the first line and pass the file to

Re: Executable standalone *.pyc after inserting "#!/usr/bin/python" or other options

2010-01-14 Thread epsilon
On Jan 14, 5:33 pm, "Martin v. Loewis" wrote: > > I've been playing with "Lua" and found something really cool that I'm > > unable to do in "Python". With "Lua", a script can be compiled to byte > > code using "luac" and by adding "#!/usr/bin/lua" at the top of the > > binary, the byte code become

Re: Executable standalone *.pyc after inserting "#!/usr/bin/python" or other options

2010-01-14 Thread Martin v. Loewis
> I've been playing with "Lua" and found something really cool that I'm > unable to do in "Python". With "Lua", a script can be compiled to byte > code using "luac" and by adding "#!/usr/bin/lua" at the top of the > binary, the byte code becomes a single file executable. After I found > this trick,

Re: executable path finding

2009-09-01 Thread ryles
On Aug 31, 12:37 pm, koranthala wrote: > On Aug 31, 9:07 pm, "Diez B. Roggisch" wrote: > > > > > koranthala wrote: > > > Hi, > > >     I am creating a python application using py2exe. I am facing a > > > problem which I am not sure how to solve. > > >     The application contains many other files

Re: executable path finding

2009-08-31 Thread koranthala
On Aug 31, 9:07 pm, "Diez B. Roggisch" wrote: > koranthala wrote: > > Hi, > >     I am creating a python application using py2exe. I am facing a > > problem which I am not sure how to solve. > >     The application contains many other files associated with it - > > like icons, config files etc. Th

Re: executable path finding

2009-08-31 Thread Diez B. Roggisch
koranthala wrote: > Hi, > I am creating a python application using py2exe. I am facing a > problem which I am not sure how to solve. > The application contains many other files associated with it - > like icons, config files etc. The executable can be in any directory. > If the user create

Re: executable

2009-03-02 Thread Gabriel Genellina
En Mon, 02 Mar 2009 13:24:20 -0200, toks teewey escribió: I want to ask if it is possible to link a program written in python to a database http://wiki.python.org/moin/DatabaseInterfaces and also on how to make a program written in python executable. http://wiki.python.org/moin/deploym