Why the file mode of .pyc files has x?

Peng Yu pengyu.ut at gmail.com
Sat Sep 26 07:57:52 EDT 2009


Hi,

It is strange that the file mode of .pyc files are changed to
executable (x mode) after the corresponding .py files have been run. I
have the follow python, which is compiled from source code by me.

$ python --version
Python 2.6.2

Should .pyc files have the x mode?

Regards,
Peng



More information about the Python-list mailing list