I would like to compile python script, so nobody will be able to easily read source (there is file inside and function to check some hashes - so I want to hide it). 
I tried py_compile.compile("script.py") but when I open compiled file (.pyc) in plaintext editor, I can see some strings and function names in readable form. I need to prevent this so it should not be easily readable.
What to use for this? (I am on linux, python 2.7)
 
     
    