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


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


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 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


For Android:


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 file


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