Python Forum
Can a player play game created with Python without installing Python? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Game Development (https://python-forum.io/forum-11.html)
+--- Thread: Can a player play game created with Python without installing Python? (/thread-2157.html)



Can a player play game created with Python without installing Python? - hsunteik - Feb-23-2017

After I finished my game(around the end of this year),I plan to publish it.will the player that doesn't have Python and the some library installed on their computer be able to play?
If they can't play,what should I do to allow them to play?


RE: Can a player play game created with Python without installing Python? - j.crater - Feb-23-2017

Hello,
yes, for use on Windows platforms you can use py2exe (http://www.py2exe.org/) to pack your creation into an executable. It would include Python interpreter and modules required to run the game, so user doesn't need to install anything else.
Another option may be PyInstaller (http://www.pyinstaller.org/), and probably more, but I am not familiar with them.


RE: Can a player play game created with Python without installing Python? - wavic - Feb-23-2017

For shure. Pyinstaller, py2exe, freeze  are the tools you need


RE: Can a player play game created with Python without installing Python? - Larz60+ - Feb-23-2017

See snippsat's post here https://python-forum.io/Thread-can-t-run-exe-file?highlight=pyinstaller
on recommended pyinstaller