Linked Questions
40 questions linked to/from How to obfuscate Python code effectively?
1 vote
0 answers
1k views
python compiled bytecode `.pyc` not compatible with every versions. can we make it general? How to remove python magic number error?
I have compiled this visible_code.py file into .pyc compiled byte code file, then I am running the function fun from .pyc file. # visible_code.py def fun(): print("Hello") # convet to ...
1 vote
0 answers
874 views
Obfuscation + Building binary/PE with PyInstaller necessary?
I want to make reverse engineering my Python code difficult. I'm curious, if I obfuscate my python code and build it as standalone executable/binary would this be redundant? I read PyInstaller ...
-2 votes
1 answer
363 views
How to protect Python source code, while making the file available for running?
So, I recently made a Python program that I want to send to someone with them being able to execute it, but not read the code I have typed in it. Any ideas how to do it? BTW, I want it to be ...
0 votes
1 answer
409 views
Hiding / locking cells in Azure / Jupyter notebooks
I have made a few jupyter notebooks to handle some workflows for clients and I would like to deploy them in such a way that the clients cannot see or modify the code / functions i have written. As ...
-6 votes
3 answers
390 views
Encrypt a Library Linux
I've created my own Python library on my Raspberry Pi 3 called myLibrary.py, and in another program called example.py, I use this library: import myLibrary I need to hand this Pi over to someone ...
0 votes
2 answers
458 views
How do I make my python project files unreadable? [duplicate]
I have a question about Python projects. I have many projects structured like this: Project Folder | main.py | resources | | module1.py | | module2.py And I'm using this module1.py and module2.py in ...
0 votes
1 answer
226 views
How to distribute Django web app to users?
I am developing a Django app to run on every client computer separately. The question is, which technologies should I use to distribute such as docker, virtual machine etc.? How can I protect the ...
0 votes
1 answer
140 views
remove remaining hex code in Pyc file
I have a project to send, where basically I have to send an email using python. My code is complete so I was about to send it. Because of the fact the module smtplib needs my email log in, I compiled ...
-3 votes
1 answer
159 views
How to block students from reading Python module source code
I have written a module for teaching Python. I'd like to make it difficult for the smarter ones to view the source code as a short-cut. Does not need to be fully secure - disabling the inspect module ...
0 votes
1 answer
34 views
Is there a way to run a script 'unrecognizable' (in terms of variablenames & funcitonnames) on a vps? [duplicate]
I wrote a project with many sub-sheets of python code. and need to run it on a p2p cloud-computing service because it needs performance. I dont want the 'host' to know what it is by trying to ...