Member Avatar for HTMLperson5

By opaque binary i mean so that people cannot see the source code if they open the file in their text editor, so instead of seeing:

 print "You cant see me!"

it would be something like:

 "0101010001010101001001010"

And yes, i am trying to do this with python.

Recommended Answers

All 2 Replies

Effbot.org has this article on compiling Python code that may be of some use to you. Though the .pyc file will still need python to run. When you try to open the pyc file with vim it isn't very readable.
PY2Exe will package python scripts as a Windows Exe that can run without python.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.