Panda python code issue

long story short: no. the second you ship your game, you lose control over your code. there is absolutely no way around it. it is, physically, flat out impossible.

if someone want’s to mess with your code, he/she will do so, no exceptions.

wasting time to get around laws of physics is not recommended. if you use pyc files and panda’s packing system that should hide your code from most unskilled and curious eyes. but that wont prevent serious hacking.

if you have a multiplayer game there are a few simple rules:
1.) never trust a client
2.) never ever trust a client
3.) try to make sure that a messed up client wont hurt other people’s gameplay experience.

for single player games, just don’t care.