0

Can I block others from seeing my code? I'm working on something in Python. As I save it, it's a (.py) and everyone can right-click and see the code. This is unlike C where I generate an .exe that you can't simply (!) read.

Michael Petrotta
  • 58,479
  • 27
  • 141
  • 176
Ofek .T.
  • 721
  • 3
  • 9
  • 28

1 Answers1

0

You can read the assembly code generated by the process of the compilation in C. The code is not hidden : it's a bit more complex to read, because it is ASM. But it is totally and definitively not hidden :)

Python is made by Open Source community, so the idea is not about hiding your code. If ever you want to make a .exe from a Python code, you can have a try to Py2Exe or Freeze :

Cheers,

K.

Koreth
  • 641
  • 4
  • 14