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
  • 59,888
  • 27
  • 145
  • 179
Ofek .T.
  • 741
  • 3
  • 10
  • 29

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
  • 681
  • 5
  • 15