pickle vs .pyc

Stefan Franke spamfranke at bigfoot.de
Fri Jun 4 19:11:13 CEST 1999


On 2 Jun 1999 16:22:15 -0400, Michael Vezie <mlv at pobox.com> wrote:

>from cache import fast,slow

Note that importing compiles the cache module only if the .py file is newer than
the .pyc. 
While this should be no problem on a single machine, there are (unlikely) cases
where it could hurt you when working with multiple machines ot transporting your
files.  At least it is an external depency you may want to avoid. 

Stefan





More information about the Python-list mailing list