# Bytecode

say it: **“BYTE-kohd”** **/ˈbaɪtˌkoʊd/**

The simpler instructions Python turns your code into before running it.

## What is **bytecode**?

**Bytecode** is the simpler set of instructions Python turns your code into before running it. The `.pyc` files in `__pycache__` are saved bytecode, so the next start is quicker.

```python
import dis

def add_tax(price):
    return price * 1.07

dis.dis(add_tax)   # shows the instructions Python really runs
```

Level: Master · [More Python terms at this level](https://www.ask-codey.com/glossary?category=python&level=5)

Updated: November 17, 2026

## In other subjects

- [Bytecode in Java](https://www.ask-codey.com/glossary/bytecode-java)

Source: https://www.ask-codey.com/glossary/bytecode
