On 11/18/2010 7:57 PM, Martin Gregorie wrote: [...] > .pyc files are an optional extra: in a *nix environment they are not > produced if you use a hash-bang line to execute the source file: they > only appear if you run the source with a "python file.py" command. > Close, but no cigar. They are only created (assuming file permissions permit) when the module is *imported*.
regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 PyCon 2011 Atlanta March 9-17 http://us.pycon.org/ See Python Video! http://python.mirocommunity.org/ Holden Web LLC http://www.holdenweb.com/ -- http://mail.python.org/mailman/listinfo/python-list