Linked Questions
40 questions linked to/from How to obfuscate Python code effectively?
813 votes
29 answers
507k views
How do I protect Python code from being read by users?
I am developing a piece of software in Python that will be distributed to my employer's customers. My employer wants to limit the usage of the software with a time-restricted license file. If we ...
7 votes
3 answers
13k views
how to encrypt python source code? [duplicate]
we have a business-critical program implemented in Python. Our boss don't want others, especially our rivals to know how it is designed and implemented. So I have to find a way to encrypt it. I first ...
0 votes
2 answers
4k views
How to convert python(.py) file to unreadable code format [duplicate]
I have written python code and saved as program.py file.Now When i open "program.py" file it should be unreadable format. Can anyone suggest me how to fix this issue.
0 votes
1 answer
6k views
Is there a way to hide a line of code in Python? [duplicate]
Is there a way that I can hide a line of code in Python that is unreadable to everyone except the program?.
-1 votes
1 answer
5k views
How to obfuscate python code to be compiled to an executeable? [duplicate]
I have been distributing my python scripts as Pyinstaller compiled executeables so that people can't steal my code, but I found that there are many tools like this which can easily decompile ...
-2 votes
1 answer
3k views
How to protect python scripts? [duplicate]
When I prepared to distribute my first python application several years ago, I had to face a problem: how to obfuscate python scripts so no clear code shown to my customer?
1 vote
1 answer
2k views
How to encrypt my written python code so you can't read it but only run it [duplicate]
I'm making a very simple python code , it asks you some questions and then restarts your pc based on the answers i want to send it to some friends but i don't want them to read the code before they ...
0 votes
0 answers
1k views
How to secure a dockerized python contiainer [duplicate]
I have a software written in python and dockerized as a container. I want to install my software on-premise, so you know my code will be on their computer, I want to secure my code so no one could ...
-2 votes
1 answer
1k views
How to make a .py file not human readable? [duplicate]
I have a script in .py format and random forest in pickle format and i should deliver it to a customer . He should not be able to read both.
0 votes
1 answer
772 views
How to make my python scripts unreadable by users? [duplicate]
Ok hi guys ;) I’ll make it simple I want to publish a project, python project and i want people to use it, BUT I don’t want them to read the source code or modify it, is there any way to do that? ...
1 vote
1 answer
330 views
How to make code unreadable but executbale? [duplicate]
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 ...
0 votes
1 answer
114 views
Is it possible to hide code in my importable package? [duplicate]
I have created a python package that includes a setup.py file. I need this package to be distributed among some clients, who will import and build their products on top of my package and I want to ...
0 votes
0 answers
92 views
Wraping my python script as a linux daemon [duplicate]
I have multiple python files and I want to install them as a service on the client's server. The problem is that I dont want the client to have access to my code so I need to generate something like ...
0 votes
0 answers
59 views
Can we introduce some java or any other language wrapper on top of python code in order to conceal/encrypt our python code from being re-engineered? [duplicate]
I am currently, working on deep learning algorithm with an objective of devising optimum method for edge devices where trade-off between the accuracy & speed will be minimum. For this reason, I ...
0 votes
0 answers
30 views
Python "Jumble" code to make it harder to understand? [duplicate]
Is there a way to make a python script "unreadable" ? One of the assignments I have is to write a python program that make existing python script more complex to understand, like adding ...