text/x-python

Python-Skript

BeschreibungPython-Skript
Dateiendungen.py, .pyx, .wsgi
Basiert aufapplication/x-executable, text/plain
Signatur (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)

Häufige Fragen

Was ist der MIME-Typ text/x-python?

text/x-python bezeichnet „Python-Skript“.

Welche Dateiendung hat text/x-python?

Dateien vom Typ text/x-python enden üblicherweise auf .py, .pyx und .wsgi.

Wie liefert ein Webserver text/x-python korrekt aus?

Mit dem Header Content-Type: text/x-python. In nginx: types { text/x-python py pyx wsgi; }; in Apache: AddType text/x-python .py .pyx .wsgi.

Welche Formate basieren auf text/x-python?

Darauf bauen unter anderem diese Formate auf: Python-3-Skript, SageMath-Skript und SCons-Konfigurationsdatei.

Formate, die darauf aufbauen

Benachbarte Einträge