What's the best way to turn a .py to a windows .exe?

What's the best way to turn a .py to a windows .exe?

Attached: atleast.jpg (850x573, 65K)

Other urls found in this thread:

stackoverflow.com/questions/41570359/how-can-i-convert-a-py-to-exe-for-python
twitter.com/SFWRedditVideos

Install gentoo

Reprogram in it in C, like god intended.

Not that hard:
All you have to do is delete the "System32" folder in windows, which forces Python automatically compiles it .py files with all necessary libraries it to an .exe file.

Have you tried to google that fucking exact question?

>still uses 10+ year old memes

/thread

Cython and gcc

YA let me just use stack over flow's answer from 2012 you're so freakin smart bruv everyone on this board is enlightened because of your 200 iq answer!!

nigger the first link was answered in 2017

>stackoverflow.com/questions/41570359/how-can-i-convert-a-py-to-exe-for-python

fucking christ

tried on windows doesn't work

grow a brain

You don't.

pyinstall is what I used when I had to build an exe of our project of my Qt app for my retarded class mate

>windows
Found your problem, kiddo.

.exe work on linux/ghanoo too?

this is your problem. just vm ubuntu and pyinstaller will work

that other dude wasn't OP,
in case anyone needs to do this in the future, py2exe didn't work for me but pyinstaller did! thanks lads

Last time I checked, yes.

OP here again

Can anyone tell me why pyinstaller gives me an error in windows but not ubuntu?

I'm a noob and this confuses me. They're both the same simple installation: pip to install and then just run the build command on the py file

holy fucking shit, you actually are a retard

Port it to C/C++ and compile with Visual Studio.

what the fuck are you even trying to do? do you know what a compiled language is? interpreted?

nobody can help you if you can't help yourself... you haven't even provided anyone with any error message or way to diagnose your problem other than "im retarded plx halp"


praying you've fucking baited the shit out of me because GOD DAMN you are stupid

Attached: 1519173616692.jpg (539x960, 81K)

pyinstaller

everyone posting actual experience and then there's this guy