text/x-python

script Python

Descriptionscript Python
Extensions.py, .pyx, .wsgi
Basé surapplication/x-executable, text/plain
Signature (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)

Questions fréquentes

Qu’est-ce que le type MIME text/x-python ?

text/x-python désigne « script Python ».

Quelle extension utilise text/x-python ?

Les fichiers de type text/x-python se terminent généralement par .py, .pyx et .wsgi.

Comment un serveur web sert-il correctement text/x-python ?

Avec l’en-tête Content-Type: text/x-python. Dans nginx : types { text/x-python py pyx wsgi; } ; dans Apache : AddType text/x-python .py .pyx .wsgi.

Quels formats sont basés sur text/x-python ?

Parmi les formats qui en dérivent : script Python 3, Script SageMath et fichier de configuration SCons.

Formats qui en dérivent

Entrées voisines