How to make an exe or etc with python | SoloLearn: Learn to code for FREE!

+2

How to make an exe or etc with python

I know how to write codes , but how to make it an app?

8/2/2019 10:44:25 PM

ali vz

4 Answers

New Answer

+4

PY to EXE procedure After compiling your code..if windows Run the command thru cmd - Pip install pyinstaller Then open cmd from the dir where your .py is, then run the commamd -Pyinstaller -onefile -w your_file_name.py Follow the same procedure if linux.. This dosen't work for macOS, sorry PY TO android procedure follow HonFu [#GoGetThatBugChamp!] comment alternatively use android studio PY TO webapps use android studio

+2

For Android: www.kivy.org

+1

exe suggests that you use Windows. if you were using Linux you can take one more approach. You can archive every file you have in your script and add on the beginning of file python interpreter. This way when you call ./your_archived_script it will execute code from __main__.py file

0

To install the plugin "pyinstaller" is a way to convert .py to an exe file.