# 46.10. Python 2 vs. Python 3

PL/Python 僅支援 Python 3。PostgreSQL 在先前的版本支援 Python 2，其語言名稱為 plpythonu 和 plpython2u 。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.postgresql.tw/server-programming/pl-python-python-procedural-language-1/python-2-vs.-python-3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
