Services
Back

Question:

What is CPython?

How often asked: Rarely

Suggested by: ALittleMoron


Answer:

CPython is an implementation of Python written in the C language. It is the primary and official implementation of Python.


Interview answer explanation:

This question is an introduction to the interviewer's understanding of the candidate's knowledge of the language they are writing in.

Understanding that languages ​​can be written in other languages ​​is fundamental to understanding the theory of compilers and interpreters. Interviewers almost never go beyond this question, but be prepared for them to delve deeper into this topic. The interviewer may then continue asking clarifying questions on this topic, which will be discussed separately.

Often, simply understanding that Python is written in C is sufficient, and beyond that, it doesn't matter.


External resources: