Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
4

How to make a program (PYTHON) into EXE??

Ekashrejaiswal
Ekashrejaiswal

Guys i have made this following repl but unable to make it into EXE for user to use plz tell me how to do this??

2 years ago

Voters

Comments

TopNew
1
xxpertHacker
xxpertHacker

I had set up the Nuitka compiler on Repl months ago:
https://repl.it/@xxpertHacker/Python3#main.py.

Just write your code in main.py and treat it like normal, forget about the bash script that compiles it.

2 years ago
1
Coder100
Coder100

you literally don't, python is an interpreted language, that means it executes the code instead of compiling to a binary.

2 years ago
1
xxpertHacker
xxpertHacker

@Coder100
Nuitka says otherwise.

Nuitka on Repl

2 years ago
1
RYANTADIPARTHI
RYANTADIPARTHI

It looks like pyinstaller is a good one to turn your files to .exe, but you say you got a virus. How about this link:

https://www.geeksforgeeks.org/convert-python-script-to-exe-file/

2 years ago
1
SamuelCheng
SamuelCheng

You would use either py2exe which has a GUI and command line option or pyinstaller which is command line app.

2 years ago
1
YodaCode
YodaCode

If you’re looking into compiling Python as an EXE, this link might help: https://datatofish.com/executable-pyinstaller/

2 years ago
1
YodaCode
YodaCode

@Ekashrejaiswal
Np. Tell me if it worked.

2 years ago
1
Ekashrejaiswal
Ekashrejaiswal

@YodaCode
Dude but it triggered a virus on my PC dude it just wrong plz i dont want to lose it (my PC)

2 years ago
1
Ekashrejaiswal
Ekashrejaiswal

@YodaCode
Let me show u a ss of my PC dude
Screenshot 2020-11-28 124746

2 years ago
1
Wumi4
Wumi4

@Ekashrejaiswal
What's the virus name? Have you tried to uninstall and install PyInstaller again? Have you searched for the virus? Please give us more info.

2 years ago
1
Ekashrejaiswal
Ekashrejaiswal

@Wumi4
No but it triggered my PC as soon as i runned it it said that it was a trojan but idk i did the reinstall twice

2 years ago
1
Coder100
Coder100

thats not a virus, thats just your computer being overzealous xd

@Ekashrejaiswal

2 years ago
1
YodaCode
YodaCode

@Ekashrejaiswal
Use a noggin. It’s not a virus. Windows Defender just blocks everything :b

You don’t have to use it, but it’s your loss.

2 years ago
Load more