Sinisterly
Python executable - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Python (https://sinister.li/Forum-Python)
+--- Thread: Python executable (/Thread-Python-executable)



Python executable - TeemuStew - 04-10-2014

Is there a way to make a own python .exe file?
For example: i code something and when i open it, it opens in cmd, but is there a way to create a own .exe file.
I've been doing a game and i've been wondering if i could do it without the game opening in cmd.

Ps. I want to make apps, what is most convenient coding language for creating them?


RE: Python executable - Psycho_Coder - 04-11-2014

Yes you can. You can use py2exe to create an exe for Windows. For Linux as well you have resources to make Debian or rpm packages.


RE: Python executable - Psycho_Coder - 04-11-2014

A simple Google search will give you better answers.
http://stackoverflow.com/questions/5458048/how-to-make-a-python-script-standalone-executable-to-run-without-any-dependency


RE: Python executable - Deque - 04-11-2014

You have two possibilities. One was named by @Psycho_Coder. Py2Exe will convert a CPython file into an exe.
But you can as well use a Python implementation like IronPython which works on the .NET framework. I would perfer the latter if you want to develop for Windows.


RE: Python executable - TeemuStew - 04-11-2014

Thanks a bunch, both of you. Smile