Python Obfuscation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Python Obfuscation

Does anyone have experience with obfuscating their python code that can give some advice? I know I could just sling it to output some bytecode but I'm curious what others are doing for this. Any thoughts? [general question - no current code related to question]

19th Jun 2018, 3:33 PM
Xpl0it
Xpl0it - avatar
3 Answers
+ 1
Thanks George. Was doing some reading but don't remember which book I was passing through. I'll try to dig it out and list it as a source so you know what I mean. I was a bit lost on the topic myself, hence my question but it occurs to me that it's really a waste of time for me as the functionality I need would be lower level anyways. I appreciate you trying to help out though.
21st Jun 2018, 1:21 PM
Xpl0it
Xpl0it - avatar
0
Um, obfuscating your code is unpythonic and I am not sure what you mean by obfuscating your actual code because then the interperter would not understand what your program is supposed to do. If you are trying to obfuscate the output then my code may help https://code.sololearn.com/cJsb71b2OvYZ/#py
21st Jun 2018, 12:39 PM
George Ryan
George Ryan - avatar
0
alright look forward to hearing from you
21st Jun 2018, 1:50 PM
George Ryan
George Ryan - avatar