Our Sponsors



Download BioinformaticsOnline(BOL) Apps in your chrome browser.




Question: Question: How to create Python standalone application?

Neel
2731 days ago

Question: How to create Python standalone application?

I found it hard to make a standalone application using Python. Can you pleqse suggest me a easy zay out?

Answers
0

You can try PyInstallerm (http://www.pyinstaller.org/. It is a program that freezes (packages) Python programs into stand-alone executables, under Windows, Linux, Mac OS X, FreeBSD, Solaris and AIX. Its main advantages over similar tools are that PyInstaller works with Python 2.7 and 3.3—3.5, it builds smaller executables thanks to transparent compression, it is fully multi-platform, and use the OS support to load the dynamic libraries, thus ensuring full compatibility.

PyInstaller --onefile my_script.py

That would produce a standalone my_script.exe executable on window for example.

0

Did you tried py2exe (http://www.py2exe.org/)

py2exe will make the exe file you want but you need to have the same version of MSVCR90.dll on the machine you're going to use your new exe. See http://www.py2exe.org/index.cgi/Tutorial for more info.