When a python program is written, it converts the source code written by the developer into intermediate language, which is then coverted into machine language that needs to be executed.