On Thu, 2012-04-19 at 10:47 -0400, Max S. wrote: > Could anyone tell me why I should use a .pyc file rather than a .py? After > doing some research, I have found that a .py file is first precompiled and > then run, while a .pyc file is already precompiled and is simply run. But > unless I'm mistaken, it seems that a .pyc is no faster or better than a .py > file. When should I use a .py, and when should I use a .pyc?
pyc files are just internal PVM files. Although they appear on the filestore visible to the programmer, just leave management of them to the PVM. Humans deal only with .py files -- or possibly pyx if you are using Cython. -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected] 41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected] London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
