JA

text/x-python

Python スクリプト

説明Python スクリプト
拡張子.py, .pyx, .wsgi
ベース形式application/x-executable, text/plain
シグネチャ (マジックバイト)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)

よくある質問

MIME タイプ text/x-python とは?

text/x-python は「Python スクリプト」を表します。

text/x-python の拡張子は?

text/x-python のファイルは通常 .py、.pyx、.wsgi で終わります。

Web サーバーで text/x-python を正しく配信するには?

ヘッダー Content-Type: text/x-python を付けます。nginx では types { text/x-python py pyx wsgi; }、Apache では AddType text/x-python .py .pyx .wsgi と設定します。

text/x-python をベースにした形式は?

これをベースにした形式には Python 3 スクリプト、SageMath スクリプト、SCons 設定ファイル などがあります。

これをベースにした形式

近くの項目