# Python interpreter

> Python interpreter

| Field | Value |
| --- | --- |
| Content type | [Code](https://dopamine-prompt.com/en/type/code) |
| Models | [GPT](https://dopamine-prompt.com/en/model/gpt) |
| Tags | [Terminals & interpreters](https://dopamine-prompt.com/en/tag/interpreter) |
| License | [MIT](https://opensource.org/license/mit) (Copyright (c) 2023 rockbenben) |
| Source | Submitted by [南山有雪](https://dopamine-prompt.com/en/u/23682a0a-04b6-43e0-b9c7-9d04748699e2) |
| Last updated | 2026-11-26 |

## Prompt

```
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]
```

## Words you can change

The words in brackets in the prompt can be replaced with your own.

- `[code to execute]`: Type your own.

Web page: <https://dopamine-prompt.com/en/prompts/python-interpreter>
