Link to home
Start Free TrialLog in
Avatar of James Hancock
James HancockFlag for United States of America

asked on

Python - Is my game's .py code an open book?

Hi
I'm so used to the .class binary encoding for the Java interpreter, which is a little hard to inspect and decipher.
I wonder, is the user that runs my .py from online completely able to inspect and steal my code?
A binary .class is a little harder to inspect and steal. If I inspect a .py inside a browser view source, it seems to be all the code?

Can I make a get-around of sorts, but the .py code itself is unobtainable? Say I'd like to give a person my class's functionality, without them actually having the code?
Thanks
ASKER CERTIFIED SOLUTION
Avatar of Nas-Banov
Nas-Banov

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of James Hancock

ASKER

Sorry
I thought Python was as runnable as html now, no? Only a ,pyc is. If I let a user of my system have access to my .py file, they can steal my code in text.
Is using pyc the way to go? I basically provide an interface


Basically, my RTS players will have my client network engine class running. I just don't want my code steal-able at a glance.
thanks