recently I am studying making using python. I even made a small game. I wanted my friend to play it. But he did not have python so he had to download python and other related modules to run the game. So I wanted to ask is there a way to convert the whole game in a stand-alone application or make an exe file of it. Thanks in advance.
Asked
Active
Viewed 432 times
1 Answers
0
You can do this by making binary file of your .py file using pyinstaller.
https://pyinstaller.readthedocs.io/en/stable/
pip install pyinstaller
pyinstaller -F file.py

Ankit Agrawal
- 596
- 5
- 12
-
Thanks for the advice. Can you also suggest me how to convert the game to an apk file? Again thanks in advance. – ankit bansal Nov 29 '19 at 09:54