text/x-python3

Python 3 script

DescriptionPython 3 script
File extensions.py, .py3, .py3x, .pyi
Based ontext/x-python
Signature (magic bytes)23 21 20 2F 62 69 6E 2F 70 79 74 68 6F 6E 33 (#! /bin/python3)
23 21 2F 62 69 6E 2F 70 79 74 68 6F 6E 33 (#!/bin/python3)

Frequently asked questions

What is the MIME type text/x-python3?

text/x-python3 denotes “Python 3 script”.

Which file extension does text/x-python3 use?

Files of type text/x-python3 usually end in .py, .py3, .py3x and .pyi.

How does a web server serve text/x-python3 correctly?

With the header Content-Type: text/x-python3. In nginx: types { text/x-python3 py py3 py3x pyi; }; in Apache: AddType text/x-python3 .py .py3 .py3x .pyi.

Nearby entries