Code · 1 file

Sample PYC File

Compiled CPython bytecode. The header records the Python version, so a .pyc only loads in the version that made it.

PYC · 1.2 KB

Python bytecode (.pyc, CPython 3.9)

Our Python sample compiled to a CPython 3.9 .pyc (hash-based, PEP 552). Bytecode is version-specific — other Python versions reject it with “bad magic number”.

CC0 · free for any use · Verified by an independent tool · Report a problem

Browsers can’t display .pyc files, so there is no preview. Download it to open it in a compatible app.

File details

Size
1.2 KB (1,245 bytes)
MIME type
application/x-python-code
SHA-256
b6de62b9b6c0fc4cc5f5566a769937bc641115b2670a1675222ebf5ae89f719c
MD5
588090ff93a6c431c19978fb0bd9f736

Download from the command line

curl -L -o sample.cpython-39.pyc https://files.samplefiles.com/code/pyc/sample.cpython-39.pyc

Or check the download in your browser with the checksum calculator.