Converting .py file to .exe extension?

Does anyone know how to convert an .py file to .exe ? i tried pyinstaller but windows doesnt like unsigned .exe. i tried several methods i doesn’t seems to be working

I don’t exactly know what you are trying to do, but have you tried Auto PY to EXE?
I used it one time and it worked great.

pip install cx_Freeze

cxfreeze yourscript.py --target-dir anydir

thats all…

1 Like

I want to run the script on windows computer thaat doesn’t have python install on it.

Not sure you can do that. You might be better off using a compiled language like C or a shell script.
If anyone does know how to do this I would be very interested to know how though.