Programs and libraries

PYC viewer

To open a PYC file, drop it in the box below. It opens straight away, even with no extension or the wrong one. Your browser opens it on your device: nothing is uploaded.

Opened on this device, never uploadedDrop or paste another file at any time

What you see

PYC in the viewer
VersionPython 1.5 to 3.15, from the magic number
SourceIts date and size, or a hash
SafetyRead from its headers only: nothing in it is run
Extensions.pyc, .pyo
UploadNone: opened on your device

What is a PYC file?

In short

A .pyc file is Python bytecode: a .py file compiled for one Python version, kept in __pycache__.

The Python version it was made for, from its magic number, and how it is checked against its source.

How to open a PYC file

  1. Add your PYC. Drop the file in the box, choose it or paste it.
  2. Look at it. The Python version it was made for, from its magic number, and how it is checked against its source.
  3. Take it further. Download any file from inside an archive, or open another file.

Questions

Drop it here: the magic number at its start names the version.

Yes. The viewer reads the file’s headers as data; the program never runs. Nothing is uploaded either.

No. The viewer runs in your browser and opens the file on your device. Nothing is sent anywhere.

Related