system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: What does code compilers actually do and why does a language like python doesn't need any compilation?
gpt
It's the difference in implementation between "Interpreted" languages and "Compiled" languages. The reasons and pros/cons are way out of scope but the long and short is that some languages are designed from the ground up to be ran through an "Interpreter" - such as Python. These languages are considered "Scripting" languages and the interpreter reads the script and runs as required.

Other languages are "Compiled" languages, and require compilation before execution. Compiled languages get converted into computer assembly code.

To make matters even more confusing, some (many?) interpreted languages can actually be both; it's possible to compile Python code for example.