On 2007-01-05, king kikapu <[EMAIL PROTECTED]> wrote: > i am learning Python, just finished a book and i am starting > to write programs. I just want to ask, is the "correct" way to > deploy my programs to other computers, the .pyc files ??
That depends on the platform. Under Linux, one usually just provides the source. Under Windows, I ususally use py2exe+inno-setup. > I now that with the "-m compileall ." switch can compile a .py > file into bytecodes. So i suppose that if Python has to run a > .pyc file, it will load and execute it faster. A little bit, yes. > And if i have some "sensitive" data in my source, like > passwords (and the source of cource!) they will be more secure > in a compiled file. Not really. -- Grant Edwards grante Yow! I represent a at sardine!! visi.com -- http://mail.python.org/mailman/listinfo/python-list