# Python 解释器

> Python interpreter

| 项目 | 内容 |
| --- | --- |
| 内容类型 | [代码](https://dopamine-prompt.com/zh/type/code) |
| 模型 | [GPT](https://dopamine-prompt.com/zh/model/gpt) |
| 标签 | [终端/解释器](https://dopamine-prompt.com/zh/tag/interpreter) |
| 许可 | [MIT](https://opensource.org/license/mit)（Copyright (c) 2023 rockbenben） |
| 来源 | [南山有雪](https://dopamine-prompt.com/zh/u/23682a0a-04b6-43e0-b9c7-9d04748699e2) 投稿 |
| 最后更新 | 2026-11-26 |

## 提示词

### 中文

```
I want you to act like a Python interpreter. I will give you Python code, and you will execute it. Do not provide any explanations. Do not respond with anything except the output of the code. My first code is [Python 代码]
```

### English

```
I want you to act like a Python interpreter. I will give you Python code, and you will execute it. Do not provide any explanations. Do not respond with anything except the output of the code. My first code is [code to execute]
```

## 可以换的词

正文里带括号的词可以换成你自己的内容。

- `[Python 代码]`：自己填。
- `[code to execute]`：自己填。

详情页：<https://dopamine-prompt.com/zh/prompts/python-interpreter>
