IT

text/x-python

Script Python

DescrizioneScript Python
Estensioni.py, .pyx, .wsgi
Basato suapplication/x-executable, text/plain
Firma (magic bytes)23 21 20 2F 62 69 6E 2F 70 79 74 68 6F 6E (#! /bin/python)
23 21 2F 62 69 6E 2F 70 79 74 68 6F 6E (#!/bin/python)

Domande frequenti

Che cos’è il tipo MIME text/x-python?

text/x-python indica «Script Python».

Quale estensione usa text/x-python?

I file di tipo text/x-python terminano di solito con .py, .pyx e .wsgi.

Come fa un server web a servire correttamente text/x-python?

Con l’intestazione Content-Type: text/x-python. In nginx: types { text/x-python py pyx wsgi; }; in Apache: AddType text/x-python .py .pyx .wsgi.

Quali formati si basano su text/x-python?

Tra i formati basati su di esso ci sono Script Python 3, Script SageMath e File configurazione SCons.

Formati basati su di esso

Voci vicine