application/x-python-bytecode

Python bytecode

DescriptionPython bytecode
File extensions.pyc, .pyo

Frequently asked questions

What is the MIME type application/x-python-bytecode?

application/x-python-bytecode denotes “Python bytecode”.

Which file extension does application/x-python-bytecode use?

Files of type application/x-python-bytecode usually end in .pyc and .pyo.

How does a web server serve application/x-python-bytecode correctly?

With the header Content-Type: application/x-python-bytecode. In nginx: types { application/x-python-bytecode pyc pyo; }; in Apache: AddType application/x-python-bytecode .pyc .pyo.

Nearby entries