This question already has answers here:
Py2exe for Python 3.0
(5 answers)
Closed 8 years ago.
I would like to deliver the application to my client, who don't have any computer knowledge, therefore, I don't wanna to let him/her to use terminal to execute my script. How can I make a single package, and let the user double click and execute?? Is there any way to do so??
Moreover, is this possible to package the python runtime to the application? Because the client may not wanna to install python.... I just wanna him/her running something like a .exe written from C, just double click and execute it. Any tools to do so?? Thanks.
Please recommend for Windows & Mac OS X.
Py2Exe for Windows:
http://www.py2exe.org/index.cgi/FAQ
And a brief Google leads me to Py2App for OS X:
http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html
Related
This question already has answers here:
py2exe - generate single executable file
(8 answers)
Closed 5 years ago.
I'm beginner on python,
I'm developing a Python 3 application on my own computer (LINUX) and
I have to give a final standalone version on Windows 64 to my teacher.
My question is how to compile a python program on Windows, what's tools are generally used to programming python on windows and how to handle dependencies module (Sklearn, OpenCV ...etc).
Thanks in advance !
Check out pyinstaller, or py2exe, which i think is appropriate for windows.
Also cx_freeze if you want.
This question already has answers here:
How do you run a python script from within notepad++? [duplicate]
(6 answers)
Closed 6 years ago.
I'm attempting a small coding project; a simple encryption program. I was wondering if I would be able to directly run my Python code from Notepad++, or if there is a different program that could do this task (preferably free). Not that I have to have said feature, it would just make things easier for me.
Sorry if this was an off-topic question. If so, I sincerely apologize.
Thanks in advance!
Wing IDE and PyCharm (My favourite personally) are really powerful IDE's that can run and debug your application all inside the same environment. Alongside features like auto-completion, support for documentation, version control support right out of the box, and multiple build configurations (there's way more features to list here!), they make writing and testing code more efficient.
Otherwise, you can always run your code via a shell, though the back and forth makes workflow less efficient.
The community edition is free, and very powerful still:
https://www.jetbrains.com/pycharm/download/
If you want a text editor that will run the code directly, then try PyCharm.
Otherwise open up a command prompt, save the file (e.g. simplencrypt.py) and then run python.exe simplencrypt.py in the command prompt when you want to run it.
I don't think you will be able to run your code directly from Notepad++.
This question already has answers here:
Process to convert simple Python script into Windows executable [duplicate]
(8 answers)
Closed 9 years ago.
I have been working a lot on python recently, mostly using IDE. Now I have a need to make a .exe program out of my code. Have tried cx_freeze but i couldn't understand what to do. So, if anyone could either give me a link to a good guide for begginers, or another easier .py to .exe program, I would be grateful.
PS
I am using Python 3.3.
Try py2exe..
Install py2exe in your system, then generate a setup file as shown here
Thats it. Your .exe file will be created.
This question already has answers here:
Py2exe for Python 3.0
(5 answers)
Closed 9 years ago.
considering another stackoverflow question that was posted at 2009 and tools like py2exe that haven't been updated since 2008, is it possible ?
I am creating an application that saves and retrieves data from an sqlite db and I want to distribute it to my colleagues without having them to install python libraries and execute .py files. The application uses tkinter as a GUI library.
Is that possible in 2013 ?
Yes, it is possible.
You may want to use the tool called cx_Freeze, it creates an executable from a python3 application (including all the libraries it uses), and it does this cross-platform.
The only thing you need to know is that in order to create, let's say a windows executable, you must run cx_Freeze in windows. (same goes for MAC, linux, etc..)
You can read here about the usage of the script.
Good Luck!
This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How can I make an EXE file from a Python program?
I have found several links talking about what to do, but I am unsure of how to use them. They often say to just use the code, but they don't say if I should put it in the terminal or use it to make a program to run. Many recommend the use of py2exe but when I try to use it it will not run because it says I do not have python 2.6 in my registery. I am rather new to the more complicated side of programming and any help would be appreciated. I am running windows vista.
This is certainly a duplicate question, but I'd recommend using py2exe. We probably need more information on how or why you are failing.