.pyc Python-Bytecode
Sonstige Formate
| MIME-Typ | application/x-python-bytecode |
|---|---|
| Beschreibung | Python-Bytecode |
| Kategorie | Sonstige Formate |
| Weitere Endungen | .pyo |
Häufige Fragen
Was ist eine .pyc-Datei?
Eine .pyc-Datei ist ein Format vom Typ „Python-Bytecode“ (MIME-Typ application/x-python-bytecode).
Womit öffne ich eine .pyc-Datei?
Mit dem Programm, das die Datei erzeugt hat. Unter Linux zeigt xdg-mime query default mit dem MIME-Typ das Standardprogramm, xdg-open öffnet die Datei damit.
Woran erkennt man eine echte .pyc-Datei?
Für dieses Format ist keine feste Signatur am Dateianfang hinterlegt; erkannt wird es vor allem an der Endung. Unter Linux und macOS zeigt file --mime-type example.pyc den vermuteten Typ.
Welcher MIME-Typ gehört zu .pyc?
Der MIME-Typ ist application/x-python-bytecode. Im Apache-Webserver: AddType application/x-python-bytecode .pyc; in nginx: types { application/x-python-bytecode pyc; }.