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
Download from the command line
curl -L -o sample.cpython-39.pyc https://files.samplefiles.com/code/pyc/sample.cpython-39.pycwget https://files.samplefiles.com/code/pyc/sample.cpython-39.pychttps://files.samplefiles.com/code/pyc/sample.cpython-39.pycprintf '%s %s\n' b6de62b9b6c0fc4cc5f5566a769937bc641115b2670a1675222ebf5ae89f719c sample.cpython-39.pyc | shasum -a 256 -cOr check the download in your browser with the checksum calculator.