IT

.pyc Bytecode Python

Altri formati

Tipo MIMEapplication/x-python-bytecode
DescrizioneBytecode Python
CategoriaAltri formati
Altre estensioni.pyo

Domande frequenti

Che cos’è un file .pyc?

Un file .pyc è un formato di tipo «Bytecode Python» (tipo MIME application/x-python-bytecode).

Come apro un file .pyc?

Con il programma che ha creato il file. Su Linux, xdg-mime query default seguito dal tipo MIME mostra l’applicazione predefinita e xdg-open apre il file con essa.

Come si riconosce un vero file .pyc?

Per questo formato non è registrata una firma fissa all’inizio del file; viene riconosciuto soprattutto dall’estensione. Su Linux e macOS, file --mime-type example.pyc mostra il tipo presunto.

Quale tipo MIME corrisponde a .pyc?

Il tipo MIME è application/x-python-bytecode. Nel server web Apache: AddType application/x-python-bytecode .pyc; in nginx: types { application/x-python-bytecode pyc; }.

Voci vicine