Re: For a hierarchical project, the EXE file generated by "pyinstaller" does not start.

2021-12-08 Thread Mohsen Owzar
Chris Angelico schrieb am Dienstag, 7. Dezember 2021 um 19:16:54 UTC+1: > On Wed, Dec 8, 2021 at 4:49 AM Mohsen Owzar wrote: > > *** > > GPIOContrl.py > > *** > > cla

Re: For a hierarchical project, the EXE file generated by "pyinstaller" does not start.

2021-12-07 Thread Chris Angelico
On Wed, Dec 8, 2021 at 4:49 AM Mohsen Owzar wrote: > *** > GPIOContrl.py > *** > class GPIOControl: > def my_print(self, args): > if print_allowed == 1: > print(args) > >

For a hierarchical project, the EXE file generated by "pyinstaller" does not start.

2021-12-07 Thread Mohsen Owzar
Hi all, I have a problem with "pyinstaller". When I compile a single Python file, an EXE file is created in the "dist" directory, with which I can start the program and the GUI appears after a few seconds. But when I try to compile my project with "pyinstaller Relai

Re: Creating Win .exe file from *.py on Linux

2018-10-02 Thread William Ray Wing via Python-list
> On Oct 2, 2018, at 3:03 PM, John Doe wrote: > > Hello World > > Is it possible to create on Linux win .exe file from *.py file? > -- > https://mail.python.org/mailman/listinfo/python-list As was pointed out here a day or so ago, the answer is yes, but it is a two

Re: Creating Win .exe file from *.py on Linux

2018-10-02 Thread Grant Edwards
On 2018-10-02, John Doe wrote: > Hello World > > Is it possible to create on Linux win .exe file from *.py file? Yes... if you run on Linux a VM instance that's running Windows? -- Grant Edwards grant.b.edwardsYow! Do you guys know we

Creating Win .exe file from *.py on Linux

2018-10-02 Thread John Doe
Hello World Is it possible to create on Linux win .exe file from *.py file? -- https://mail.python.org/mailman/listinfo/python-list

Re: How to decompile an exe file compiled by py2exe?

2017-06-13 Thread Irving Duran
This might be what you are looking for -> https://stackoverflow.com/questions/6287918/how-to-decompile-an-exe-file-compiled-by-py2exe On Tue, Jun 13, 2017 at 8:52 AM Xristos Xristoou wrote: > hello > > How to decompile an exe file compiled by py2exe? > in my file i have a lib

How to decompile an exe file compiled by py2exe?

2017-06-13 Thread Xristos Xristoou
hello How to decompile an exe file compiled by py2exe? in my file i have a library.zip file i dont if that help this work. i need some easy because i am very new i try some programs but without results. -- https://mail.python.org/mailman/listinfo/python-list

Error running an exe file in Windows with reportlab import

2016-08-12 Thread Ernest Bonat, Ph.D.
I have created a simple Python program including the following packages: import numpy as np import matplotlib.pyplot as plt import pandas as pd from reportlab.pdfgen import canvas if __name__ == '__main__': print("Hi!") I have created the installation package (PyInstaller) using th

Re: Error running the exe file in Windows "Failed to execute script pyi_rth_pkgres"

2016-08-10 Thread Ernest Bonat, Ph.D.
Hi, I have fixed this problem by following the steps: 1. Uninstall the PyInstaller downloaded from http://www.pyinstaller.org/ pip install pyinstaller 2. Install the PyInstaller from the GitHub developer repository pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip Still

Error running the exe file in Windows "Failed to execute script pyi_rth_pkgres"

2016-08-07 Thread Ernest Bonat, Ph.D.
Hi, I have created a simple Python program including the following packages: import numpy as np import matplotlib.pyplot as plt import pandas as pd if __name__ == '__main__': print("Hi!") I have created the installation package using PyInstaller with the following command line: pyin

Re: Creating .exe file in Python

2015-06-17 Thread Chris Angelico
On Thu, Jun 18, 2015 at 1:39 AM, Steven D'Aprano wrote: > On Wed, 17 Jun 2015 11:52 pm, Chris Angelico wrote: > >> If you truly want to protect your code from prying eyes, therefore, >> there's only one way to do it: host it on a server, and let people >> access the server without seeing the code.

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
On Wednesday, June 17, 2015 at 9:09:32 PM UTC+5:30, Steven D'Aprano wrote: > On Wed, 17 Jun 2015 11:52 pm, Chris Angelico wrote: > > > If you truly want to protect your code from prying eyes, therefore, > > there's only one way to do it: host it on a server, and let people > > access the server wi

Re: Creating .exe file in Python

2015-06-17 Thread Steven D'Aprano
On Wed, 17 Jun 2015 11:52 pm, Chris Angelico wrote: > If you truly want to protect your code from prying eyes, therefore, > there's only one way to do it: host it on a server, and let people > access the server without seeing the code. Stop giving people ideas. -- Steven -- https://mail.pyt

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
On Wednesday, June 17, 2015 at 8:52:16 PM UTC+5:30, Laura Creighton wrote: > In a message of Wed, 17 Jun 2015 07:16:33 -0700, w > rites: > >On Monday, June 15, 2015 at 5:12:24 PM UTC+5:30, wrote: > >> Dear Group, > >> > >> I am trying to learn how to creat

Re: Creating .exe file in Python

2015-06-17 Thread Laura Creighton
In a message of Wed, 17 Jun 2015 07:16:33 -0700, subhabrata.bane...@gmail.com w rites: >On Monday, June 15, 2015 at 5:12:24 PM UTC+5:30, subhabrat...@gmail.com wrote: >> Dear Group, >> >> I am trying to learn how to create .exe file for Python. I tried to work >> aroun

Re: Creating .exe file in Python

2015-06-17 Thread Chris Angelico
On Thu, Jun 18, 2015 at 12:17 AM, wrote: > On Wed, Jun 17, 2015, at 09:33, hamilton wrote: >> However, the python source can be read by anyone. >> >> As a .exe, the source can not be read. >> >> Just because the interpreter is open source, >> does not mean my application should be. > > Being read

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
On Wednesday, June 17, 2015 at 7:47:59 PM UTC+5:30, rand...@fastmail.us wrote: > On Wed, Jun 17, 2015, at 09:33, hamilton wrote: > > However, the python source can be read by anyone. > > > > As a .exe, the source can not be read. > > > > Just because the interpreter is open source, > > does not m

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
On Monday, June 15, 2015 at 5:12:24 PM UTC+5:30, subhabrat...@gmail.com wrote: > Dear Group, > > I am trying to learn how to create .exe file for Python. I tried to work > around > http://www.py2exe.org/index.cgi/Tutorial of Py2exe. The sample program went > nice. > But

Re: Creating .exe file in Python

2015-06-17 Thread random832
On Wed, Jun 17, 2015, at 09:33, hamilton wrote: > However, the python source can be read by anyone. > > As a .exe, the source can not be read. > > Just because the interpreter is open source, > does not mean my application should be. Being readable isn't the same thing as being open source. If s

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
On Wednesday, June 17, 2015 at 7:25:39 PM UTC+5:30, Laura Creighton wrote: > In a message of Wed, 17 Jun 2015 06:10:45 -0700, w > rites: > > >Dear Group, > > > >Thank you all. It seems going fine now. I have one additional question if I > >run the .exe files created in Non Python Windows environm

Re: Creating .exe file in Python

2015-06-17 Thread Laura Creighton
In a message of Wed, 17 Jun 2015 06:10:45 -0700, subhabrata.bane...@gmail.com w rites: >Dear Group, > >Thank you all. It seems going fine now. I have one additional question if I >run the .exe files created in Non Python Windows environment. Linux has Python >builtin but in Non Python environmen

Re: Creating .exe file in Python

2015-06-17 Thread Chris Angelico
On Wed, Jun 17, 2015 at 11:33 PM, hamilton wrote: > On 6/17/2015 7:20 AM, Chris Angelico wrote: >> >> On Wed, Jun 17, 2015 at 11:10 PM, wrote: >>> >>> Thank you all. It seems going fine now. I have one additional question if >>> I run the .exe files created in Non Python Windows environment. Lin

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
On Wednesday, June 17, 2015 at 6:50:48 PM UTC+5:30, Chris Angelico wrote: > On Wed, Jun 17, 2015 at 11:10 PM, wrote: > > Thank you all. It seems going fine now. I have one additional question if I > > run the .exe files created in Non Python Windows environment. Linux has > > Python builtin but i

Re: Creating .exe file in Python

2015-06-17 Thread hamilton
On 6/17/2015 7:20 AM, Chris Angelico wrote: On Wed, Jun 17, 2015 at 11:10 PM, wrote: Thank you all. It seems going fine now. I have one additional question if I run the .exe files created in Non Python Windows environment. Linux has Python builtin but in Non Python environment how may I run

Re: Creating .exe file in Python

2015-06-17 Thread Chris Angelico
On Wed, Jun 17, 2015 at 11:10 PM, wrote: > Thank you all. It seems going fine now. I have one additional question if I > run the .exe files created in Non Python Windows environment. Linux has > Python builtin but in Non Python environment how may I run it? Is there any > set of prequisites I

Re: Creating .exe file in Python

2015-06-17 Thread subhabrata . banerji
main__": > > Colors().Blue() #THIS IS FINE > > Colors().Red() #NOT FINE > > You're still not saying what's going on. Did you try this code as a > simple Python script first, before trying to bundle it up into an .exe > file? > > Fortunately,

Re: Creating .exe file in Python

2015-06-16 Thread subhabrata . banerji
main__": > > Colors().Blue() #THIS IS FINE > > Colors().Red() #NOT FINE > > You're still not saying what's going on. Did you try this code as a > simple Python script first, before trying to bundle it up into an .exe > file? > > Fortunately,

Re: Creating .exe file in Python

2015-06-16 Thread Chris Angelico
this code as a simple Python script first, before trying to bundle it up into an .exe file? Fortunately, my primary crystal ball is active, and I believe what's going on is that you expect Blue() to set something and then Red() to see it. However, you're calling those methods on two diffe

Re: Creating .exe file in Python

2015-06-16 Thread Ian Kelly
On Tue, Jun 16, 2015 at 9:17 AM, wrote: > On Tuesday, June 16, 2015 at 8:35:39 PM UTC+5:30, Laura Creighton wrote: >> In a message of Tue, 16 Jun 2015 06:56:12 -0700, writes: >> >ii) In a class how may I include if __name__ == "__main__": with multiple >> >methods? But I think this is easy ques

Re: Creating .exe file in Python

2015-06-16 Thread subhabrata . banerji
On Tuesday, June 16, 2015 at 8:35:39 PM UTC+5:30, Laura Creighton wrote: > In a message of Tue, 16 Jun 2015 06:56:12 -0700, writes: > >ii) In a class how may I include if __name__ == "__main__": with multiple > >methods? But I think this is easy question there should be lot of web help. > > > >I

Re: Creating .exe file in Python

2015-06-16 Thread Laura Creighton
In a message of Tue, 16 Jun 2015 06:56:12 -0700, subhabrata.bane...@gmail.com w rites: >ii) In a class how may I include if __name__ == "__main__": with multiple >methods? But I think this is easy question there should be lot of web help. > >If anyone may kindly suggest. > >Regards, >Subhabrata B

Re: Creating .exe file in Python

2015-06-16 Thread subhabrata . banerji
On Monday, June 15, 2015 at 9:59:33 PM UTC+5:30, Laura Creighton wrote: > I don't have a windows system, so my knowledge of such things is > minimal. But looks like this person had the same problem you have, > and got some suggestions on how to fix it. > > http://stackoverflow.com/questions/12127

Re: Creating .exe file in Python

2015-06-16 Thread subhabrata . banerji
On Monday, June 15, 2015 at 9:59:33 PM UTC+5:30, Laura Creighton wrote: > I don't have a windows system, so my knowledge of such things is > minimal. But looks like this person had the same problem you have, > and got some suggestions on how to fix it. > > http://stackoverflow.com/questions/12127

Re: Creating .exe file in Python

2015-06-15 Thread sohcahtoa82
On Monday, June 15, 2015 at 5:08:58 AM UTC-7, Mark Lawrence wrote: > On 15/06/2015 12:42, subhabrata.bane...@gmail.com wrote: > > Dear Group, > > > > I am trying to learn how to create .exe file for Python. I tried to work > > around > > http://www.py2exe.org/

Re: Creating .exe file in Python

2015-06-15 Thread Laura Creighton
I don't have a windows system, so my knowledge of such things is minimal. But looks like this person had the same problem you have, and got some suggestions on how to fix it. http://stackoverflow.com/questions/12127869/error-msvcp90-dll-no-such-file-or-directory-even-though-microsoft-visual-c Bu

Re: Creating .exe file in Python

2015-06-15 Thread subhabrata . banerji
On Monday, June 15, 2015 at 5:12:24 PM UTC+5:30, subhabrat...@gmail.com wrote: > Dear Group, > > I am trying to learn how to create .exe file for Python. I tried to work > around > http://www.py2exe.org/index.cgi/Tutorial of Py2exe. The sample program went > nice. > But

Re: Creating .exe file in Python

2015-06-15 Thread Laura Creighton
In a message of Mon, 15 Jun 2015 06:42:48 -0700, subhabrata.bane...@gmail.com w >I wrote a script as NLQ3. py > >the code is written as, > >import nltk >import itertools >def nlq3(n): >inp=raw_input("Print Your Query:") >tag=nltk.pos_tag(nltk.wordpunct_tokenize(inp)) >print "The Tag

Re: Creating .exe file in Python

2015-06-15 Thread subhabrata . banerji
rograms like Inno > Setup let you do it quite easily. > > Kind regards > > Thierry > > > > On lun., juin 15, 2015 at > 4:10 PM, > wrote: > > > On Monday, June 15, 2015 at > 5:12:24 PM UTC+5:30, subhabrat...@gmail.com wrote: > > > &g

Re: Creating .exe file in Python

2015-06-15 Thread Thierry Chappuis
...@gmail.com [subhabrata.bane...@gmail.com] > wrote: On Monday, June 15, 2015 at 5:12:24 PM UTC+5:30, subhabrat...@gmail.com wrote: > Dear Group, > > I am trying to learn how to create .exe file for Python. I tried to work around > http://www.py2exe.org/index.cgi/Tutorial of Py2e

Re: Creating .exe file in Python

2015-06-15 Thread subhabrata . banerji
On Monday, June 15, 2015 at 5:12:24 PM UTC+5:30, subhabrat...@gmail.com wrote: > Dear Group, > > I am trying to learn how to create .exe file for Python. I tried to work > around > http://www.py2exe.org/index.cgi/Tutorial of Py2exe. The sample program went > nice. > But

Re: Creating .exe file in Python

2015-06-15 Thread subhabrata . banerji
On Monday, June 15, 2015 at 6:32:33 PM UTC+5:30, Laura Creighton wrote: > In a message of Mon, 15 Jun 2015 04:42:09 -0700, w > rites: > >Dear Group, > > > >I am trying to learn how to create .exe file for Python. I tried to work > >around > >http://www.py2

Re: Creating .exe file in Python

2015-06-15 Thread Laura Creighton
In a message of Mon, 15 Jun 2015 04:42:09 -0700, subhabrata.bane...@gmail.com w rites: >Dear Group, > >I am trying to learn how to create .exe file for Python. I tried to work >around >http://www.py2exe.org/index.cgi/Tutorial of Py2exe. The sample program went >nice. >But

Re: Creating .exe file in Python

2015-06-15 Thread Mark Lawrence
On 15/06/2015 12:42, subhabrata.bane...@gmail.com wrote: Dear Group, I am trying to learn how to create .exe file for Python. I tried to work around http://www.py2exe.org/index.cgi/Tutorial of Py2exe. The sample program went nice. But if I try to make exe for larger programs with methods and

Creating .exe file in Python

2015-06-15 Thread subhabrata . banerji
Dear Group, I am trying to learn how to create .exe file for Python. I tried to work around http://www.py2exe.org/index.cgi/Tutorial of Py2exe. The sample program went nice. But if I try to make exe for larger programs with methods and classes I am getting error. If any one of the esteemed

Re: Compiling multiple python scripts into an exe file

2015-01-14 Thread Dan Stromberg
On Tue, Jan 13, 2015 at 10:53 PM, dieter wrote: > no nein writes: > >> Basically, is it possible to compile multiple unrelated python scripts into >> a single exe file, so when execute it several python programs are run at >> once. > > These are two distinct probl

Re: Compiling multiple python scripts into an exe file

2015-01-13 Thread dieter
no nein writes: > Basically, is it possible to compile multiple unrelated python scripts into a > single exe file, so when execute it several python programs are run at once. These are two distinct problems: * for doing things in paralell, look at "threading" or "mult

Compiling multiple python scripts into an exe file

2015-01-13 Thread no nein
Basically, is it possible to compile multiple unrelated python scripts into a single exe file, so when execute it several python programs are run at once. In order to use this on another machine without python installed and only by using one single file. -- https://mail.python.org/mailman

Reg : Creating a exe file from pyinstaller of python application

2014-01-05 Thread Prapulla Kumar
Hi, I'm creating GUI using python gtk, and which uses external library gtk , M2Crypto I want make executable file by using pyinstaller, Which is not including external library How to make external library include into executable file . Can you give any suggestion how to import external library in

Re: Quesion about running a exe file in Python(Not enough memory)

2013-04-25 Thread Chris Angelico
On Fri, Apr 26, 2013 at 8:00 AM, Steven D'Aprano wrote: > On Thu, 25 Apr 2013 14:18:58 -0700, yuyaxuan0 wrote: >> #cmd = "D:\\programs\\MIRAX_SlideAC_SDK\\Bin\\MrxSlideExport.exe -s >> D:\\fit\\projects\\bayer\\KidneyLiver\\MiraxScanner\\Slides\\L10 -e >> -o D:\\fit\\projects\\bayer\\K

Re: Quesion about running a exe file in Python(Not enough memory)

2013-04-25 Thread rusi
On Apr 26, 3:11 am, yuyaxu...@gmail.com wrote: > OK... > > 1."Memory is not enough..." is giving from the exe program. > 2. If I run the exe program directly using cmd console, it's working good. > 3. I am using Windows 7, 4GB memory python 2.7 the program is a image > processing program. It may

Re: Quesion about running a exe file in Python(Not enough memory)

2013-04-25 Thread yuyaxuan0
OK... 1."Memory is not enough..." is giving from the exe program. 2. If I run the exe program directly using cmd console, it's working good. 3. I am using Windows 7, 4GB memory python 2.7 the program is a image processing program. -- http://mail.python.org/mailman/listinfo/python-list

Re: Quesion about running a exe file in Python(Not enough memory)

2013-04-25 Thread Steven D'Aprano
On Thu, 25 Apr 2013 14:18:58 -0700, yuyaxuan0 wrote: > Hey guys, > > I have a python script that will call an external exe file. Code is kind > of like this: "Kind of like"? So it might be different? How much different? [snip irrelevant code] Please try to cut your co

Re: Quesion about running a exe file in Python(Not enough memory)

2013-04-25 Thread Dave Angel
On 04/25/2013 05:18 PM, yuyaxu...@gmail.com wrote: Hey guys, I have a python script that will call an external exe file. Code is kind of like this: This is a perfect example where you can simplify the problem down to a few lines that fail for you, and actually document the environment and

Quesion about running a exe file in Python(Not enough memory)

2013-04-25 Thread yuyaxuan0
Hey guys, I have a python script that will call an external exe file. Code is kind of like this: import sys import os from helper_functions import strContains if (len(sys.argv) != 4): print('Usage of script: export_mirax_data ') else: print('Script to export mirax d

exe file sends error

2011-03-15 Thread Şansal Birbaş
Hi, I needed to create executable of my python application. Everthing was ok , but my exe file gives an error such as "unable to open database file", When I try to add an entry to my database. My icon file is in tha same directory(data) as my database file and there is no problem

Re: Question on Creating exe file with py2exe

2011-02-15 Thread aspineux
oblem > installation is okay. > The first two steps: > "from distutils.core import setup >  import py2exe" > but as I am giving > "setup(console=['file.py'])" > > the setup file is not being generated. What do you mean ? Do you expect the 3 lines above will generate a setup.py file ? You are wrong you must create your setup.py file yourself, and this file must contains the 3 lines above, and more a lot more .. Then you will run python setup.py py2exe to generate your .exe file > It is giving some error > messages. > Any suggestions? > Best Regards, > Subhabrata.- Masquer le texte des messages précédents - > > - Afficher le texte des messages précédents - -- http://mail.python.org/mailman/listinfo/python-list

Re: Question on running exe file in Python

2011-02-13 Thread joy99
l)] on win32 on Windows XP (SP2). > > > Trying to create an .exe file of my scripting file I had saved it > > as .exe instead of .py file. It seems created. But how to run it? I > > tried command prompt, seems unresponsive. > > You can't compile things to executab

Re: Question on running exe file in Python

2011-02-13 Thread Chris Rebert
1500 32 bit (Intel)] on win32 on Windows XP (SP2). > > Trying to create an .exe file of my scripting file I had saved it > as .exe instead of .py file. It seems created. But how to run it? I > tried command prompt, seems unresponsive. You can't compile things to executables (i.e. ma

Question on running exe file in Python

2011-02-13 Thread joy99
Dear Room, I am using Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v. 1500 32 bit (Intel)] on win32 on Windows XP (SP2). Trying to create an .exe file of my scripting file I had saved it as .exe instead of .py file. It seems created. But how to run it? I tried command prompt, seems

Re: Question on Creating exe file with py2exe

2011-02-12 Thread joy99
On Feb 13, 1:29 am, aspineux wrote: > Hi > > I'm releasing a .exe made with py2exe myself an got this problem too. > 99% of the time the required DLL is already installed by another > application and you don't need to care about it. > The 1% is about empty or fresh windows install (server most of

Re: Question on Creating exe file with py2exe

2011-02-12 Thread aspineux
Hi I'm releasing a .exe made with py2exe myself an got this problem too. 99% of the time the required DLL is already installed by another application and you don't need to care about it. The 1% is about empty or fresh windows install (server most of the time) For them, I provide a link to the M$ v

Question on Creating exe file with py2exe

2011-02-12 Thread joy99
Dear Room, I am using Windows XP (SP2) and a Python Version "Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32". I was looking to create exe files. Reviewing various posts here, I felt py2exe may be the best thing I can opt for. But for Python2.6 I found the f

Re: insufficient memory problem in running .exe file in ipython

2010-07-15 Thread Steven D'Aprano
On Thu, 15 Jul 2010 00:54:19 -0700, youngung wrote: > Hello! > > I came across a problem in running a .exe file through ipython. """ > os.system(' ~.exe')""" was used. The error message popped up says > > Memory error: insufficien

insufficient memory problem in running .exe file in ipython

2010-07-15 Thread youngung
Hello! I came across a problem in running a .exe file through ipython. """ os.system(' ~.exe')""" was used. The error message popped up says Memory error: insufficient physical memory available What should I try further? -- http://mail.python.org/mailman/listinfo/python-list

error on exe file

2010-06-16 Thread Ahmed, Shakir
application is not installed. I created an exe file from the py file, the file is running perfectly alright in those machines where Arc GIS is installed locally but the exe file is giving memory error on those machines where Arc GIS is not installed. -- http://mail.python.org/mailman/listinfo/python

Re: packaging multiple python scripts as Windows exe file

2010-04-14 Thread Den
On Apr 12, 3:20 pm, Alex Hall wrote: > Hi all, > While my project is still suffering from major import problems, I will > soon have to try to package it as a Windows executable file. I do not > want an installer; I want the user to be able to run the program for > as long as they want, then to qui

Re: packaging multiple python scripts as Windows exe file

2010-04-14 Thread Alex Hall
msvcr90.dll is the file, and, according to the py2exe tutorial, step 5, I do not have permision to distribute the file. This is not good news, but beyond that, I apparently get an entire directory with all required files, not a single .exe which has everything packaged inside it. Is there another w

Re: packaging multiple python scripts as Windows exe file

2010-04-13 Thread Joaquin Abian
On Apr 13, 9:56 pm, Mike Driscoll wrote: > On Apr 12, 5:20 pm, Alex Hall wrote: > > > > > Hi all, > > While my project is still suffering from major import problems, I will > > soon have to try to package it as a Windows executable file. I do not > > want an installer; I want the user to be able

Re: packaging multiple python scripts as Windows exe file

2010-04-13 Thread Mike Driscoll
On Apr 12, 5:20 pm, Alex Hall wrote: > Hi all, > While my project is still suffering from major import problems, I will > soon have to try to package it as a Windows executable file. I do not > want an installer; I want the user to be able to run the program for > as long as they want, then to qui

packaging multiple python scripts as Windows exe file

2010-04-13 Thread Alex Hall
Hi all, While my project is still suffering from major import problems, I will soon have to try to package it as a Windows executable file. I do not want an installer; I want the user to be able to run the program for as long as they want, then to quit (by using a command from inside the program) a

Re: How to use python to register a service (an existing .exe file)

2010-03-02 Thread prakash jp
Code of SmallestService.py is at: http://book.opensourceproject.org.cn/lamp/python/pythonwin/ Regards -- http://mail.python.org/mailman/listinfo/python-list

Re: How to use python to register a service (an existing .exe file)

2010-03-02 Thread coldpizza
instsrv.exe does not come with Windows by default, but I guess it should be possible to add a service using the win32 built-in `sc` command line tool. Try `sc create` from a console. The app you want to install as a service will still have to be compliant with the win32 service interface, otherwi

Re: How to use python to register a service (an existing .exe file)

2010-03-01 Thread Eman
On Feb 15, 4:10 pm, News123 wrote: > Hi, > > Is there a python way to register new windows services. > > I am aware of the > instsrv.exe program, which can be used to install services. > I could use subprocess.Popen to call > > instsrv.exe "service_name" program.exe > > but wondered, whether there

Re: How to use python to register a service (an existing .exe file)

2010-03-01 Thread Chris Withers
Aahz wrote: In article <4b79e28c$0$4610$426a7...@news.free.fr>, News123 wrote: Is there a python way to register new windows services. I am aware of the instsrv.exe program, which can be used to install services. I could use subprocess.Popen to call instsrv.exe "service_name" program.exe b

Re: How to use python to register a service (an existing .exe file)

2010-02-19 Thread Aahz
In article <4b79e28c$0$4610$426a7...@news.free.fr>, News123 wrote: >Is there a python way to register new windows services. > >I am aware of the >instsrv.exe program, which can be used to install services. >I could use subprocess.Popen to call > >instsrv.exe "service_name" program.exe > >but won

Re: How to use python to register a service (an existing .exe file)

2010-02-15 Thread Brian Curtin
On Mon, Feb 15, 2010 at 18:10, News123 wrote: > Hi, > > Is there a python way to register new windows services. > > > I am aware of the > instsrv.exe program, which can be used to install services. > I could use subprocess.Popen to call > > > instsrv.exe "service_name" program.exe > > > but wonde

How to use python to register a service (an existing .exe file)

2010-02-15 Thread News123
Hi, Is there a python way to register new windows services. I am aware of the instsrv.exe program, which can be used to install services. I could use subprocess.Popen to call instsrv.exe "service_name" program.exe but wondered, whether there's already an existing function. Thans in advance

Re: Creating single .exe file without py2exe and pyinstaller

2008-10-20 Thread oyster
you can try jungle ( http://www.suda-chen.biz/?page_id=21 ) also > -- 已转发邮件 -- > From: MRAB <[EMAIL PROTECTED]> > To: python-list@python.org > Date: Mon, 20 Oct 2008 15:47:55 -0700 (PDT) > Subject: Re: Creating single .exe file without py2exe and pyinstaller

Re: Creating single .exe file without py2exe and pyinstaller

2008-10-20 Thread Gabriel Genellina
En Sun, 19 Oct 2008 01:45:16 -0200, Abah Joseph <[EMAIL PROTECTED]> escribió: I have written a small application of about 40-45 lines which is about 4KB, so I want to create a single .exe file from it, using py2exe it created unnecessary files, that just increase the size of the progr

Re: Creating single .exe file without py2exe and pyinstaller

2008-10-20 Thread MRAB
On Oct 20, 4:48 pm, Larry Bates <[EMAIL PROTECTED]> wrote: > Tino Wildenhain wrote: > > Hi, > > > Abah Joseph wrote: > >> I have written a small application of about 40-45 lines which is about > >> 4KB, so I want to create a single .exe file from it, usin

Re: Creating single .exe file without py2exe and pyinstaller

2008-10-20 Thread Larry Bates
Tino Wildenhain wrote: Hi, Abah Joseph wrote: I have written a small application of about 40-45 lines which is about 4KB, so I want to create a single .exe file from it, using py2exe it created unnecessary files, that just increase the size of the program and also less portable to me. What

Re: Creating single .exe file without py2exe and pyinstaller

2008-10-18 Thread Tino Wildenhain
Hi, Abah Joseph wrote: I have written a small application of about 40-45 lines which is about 4KB, so I want to create a single .exe file from it, using py2exe it created unnecessary files, that just increase the size of the program and also less portable to me. What else can I use? the

Creating single .exe file without py2exe and pyinstaller

2008-10-18 Thread Abah Joseph
I have written a small application of about 40-45 lines which is about 4KB, so I want to create a single .exe file from it, using py2exe it created unnecessary files, that just increase the size of the program and also less portable to me. What else can I use? I am on windows XP. Python 2.5

Re: running exe file

2008-08-22 Thread [EMAIL PROTECTED]
On Aug 22, 12:12 am, Saurabh Sharma <[EMAIL PROTECTED]> wrote: > How can I run .exe file from my python script? import os os.startfile('file.exe') The downside is that it doesn't work on the mac.. but it does work on stuff like os.startfile('notepad.txt'

Re: running exe file

2008-08-21 Thread M�ta-MCI (MVP)
Hi! See: system( startfile( subprocess( spawn( etc. @-salutations -- Michel Claveau -- http://mail.python.org/mailman/listinfo/python-list

running exe file

2008-08-21 Thread Saurabh Sharma
How can I run .exe file from my python script? -- http://mail.python.org/mailman/listinfo/python-list

Re: Using Gnuplot and making an exe file outv the prog

2008-07-03 Thread Miki
Hello, > Hello. Been using the gnuplot lately. Program runs fine. And its plots > as well. Now i want to make an exe file out of this program using > py2exe. Cud some1 help me in telling me how this is done. Thnks You probably mean the Python gnuplot bindings (otherwise you'r

Using Gnuplot and making an exe file outv the prog

2008-07-02 Thread J-Burns
Hello. Been using the gnuplot lately. Program runs fine. And its plots as well. Now i want to make an exe file out of this program using py2exe. Cud some1 help me in telling me how this is done. Thnks -- http://mail.python.org/mailman/listinfo/python-list

Re: How to create an exe-file?

2008-04-06 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > a good thing about python is the portability though. but u cant make > an exe that can be used on mac too, ie one exe fpr both? you can create a portable python archive, but EXE files are windows only. > if i want to make an exe for mac, what do i need? see the second

Re: How to create an exe-file?

2008-04-06 Thread Diez B. Roggisch
[EMAIL PROTECTED] schrieb: > On 6 Apr, 22:50, Fredrik Lundh <[EMAIL PROTECTED]> wrote: >> [EMAIL PROTECTED] wrote: >>> how do you create exe-files of your python-code? >>> is it different depending on what libraries, GUI-frameworks you use? >>> i want to

Re: How to create an exe-file?

2008-04-06 Thread skanemupp
On 6 Apr, 22:50, Fredrik Lundh <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > how do you create exe-files of your python-code? > > > is it different depending on what libraries, GUI-frameworks you use? > > > i want to create an exe-file of a pythonscrip

Re: How to create an exe-file?

2008-04-06 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > how do you create exe-files of your python-code? > > is it different depending on what libraries, GUI-frameworks you use? > > i want to create an exe-file of a pythonscript that uses Tkinter. assuming windows only, you want: http://www.py2exe.org/

How to create an exe-file?

2008-04-06 Thread skanemupp
how do you create exe-files of your python-code? is it different depending on what libraries, GUI-frameworks you use? i want to create an exe-file of a pythonscript that uses Tkinter. -- http://mail.python.org/mailman/listinfo/python-list

Re: convert python scripts to exe file

2007-02-26 Thread Larry Bates
Eric CHAO wrote: > I know py2exe can make an exe file. But python runtime dll is still > there. How can I combine the dll file into the exe, just make one > file? > > Thanks. You can use the bundle= parameter to get "less" files, but you can't get to only 1 be

Re: convert python scripts to exe file

2007-02-24 Thread Gabriel Genellina
En Sun, 25 Feb 2007 00:29:53 -0300, Eric CHAO <[EMAIL PROTECTED]> escribió: > I know py2exe can make an exe file. But python runtime dll is still > there. How can I combine the dll file into the exe, just make one > file? May I ask why? If you want to distribute your app o

convert python scripts to exe file

2007-02-24 Thread Eric CHAO
I know py2exe can make an exe file. But python runtime dll is still there. How can I combine the dll file into the exe, just make one file? Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: pyinstaller fails to create exe-File

2007-02-23 Thread Thomas Heller
[EMAIL PROTECTED] schrieb: > Hi ! > > I am trying to create an exe file using pyinstaller. Running the > created exe-File gives the error message > "" > Traceback (most recent call last): > File "", line 8, in > File "E:\Documents\mich\jo

pyinstaller fails to create exe-File

2007-02-22 Thread DierkErdmann
Hi ! I am trying to create an exe file using pyinstaller. Running the created exe-File gives the error message "" Traceback (most recent call last): File "", line 8, in File "E:\Documents\mich\job\abs\backup_skript\buildbackup\out1.pyz/ email", lin e 79, in __

Re: Embedding exe file

2006-07-17 Thread tac-tics
Bayazee wrote: > hi,ThanX > but i dont want to save the exe file in temp file and run it . i want > to run it directly from python . maybe such this : > exec("file("test.exe","rw").read())") > i want write a cd lock with python tp protect an binary

  1   2   >