1

I made my app using python(PyQt5). I converted py to exe using pyinstaller but after converting it looped at splash screen(My app has splash screen and main screen.). So,I decided to stay it as py file but can I make it unreadable for user? I mean only my app can execute it and normal users couldn't able to see source code?

Note:This program is only for Windows.

2

1 Answer 1

0

pyinstaller is the way to go. It does work with libraries you use. It seems you have some underlying problems though.

Another alternative is py2exe.

Did you try some reasearch into pyinstaller options? Some suggest using --onefile option of pyinstaller.

Sign up to request clarification or add additional context in comments.

2 Comments

I tried it. Already tried all combinations of pyinstaller. Btw, I would ask how can I compress all files of program(I mean folders, db, other files) into one exe with not changing the paths? I mean it launches UI file from data/ui folder and I coded it as ./data/UI in main.py . After converting all this folders to an exe file can it work correctly without errors?
Make sure your program works in pyinstaller's one-folder mode first. You can see how it works here: pyinstaller.readthedocs.io/en/stable/operating-mode.html

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.