How to force creation of a .pyc?

mrstephengross mrstephengross at hotmail.com
Wed Feb 22 12:51:58 EST 2006


I would like to distribute a python program, but only in .pyc form (so
that people cannot simply look at my code). Is there a way to do this?
I've read up a little on the logic by which python creates .pyc's, and
it sounds like python requires the main executed program to be in .py
format. Any ideas?

Thanks
--Steve (mrstephengross at hotmail.com)




More information about the Python-list mailing list