[Python-Dev] __file__ and bytecode-only

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Mar 15 00:10:52 CET 2010


Jon Ribbens wrote:

> Sorry if I missed it, but why on earth is the bytecode directory
> __pycache__ and not .pycache? (Or indeed anything else that starts
> with a '.') Surely this is a classic ideal use case for a "hidden"
> directory?

Please don't try to hide it. On MacOSX, it makes it impossible
to look inside using the Finder if you want to, and it won't
have any effect on Windows anyway.

-- 
Greg


More information about the Python-Dev mailing list