filmov
tv
Is Python compiled or interpreted or both

Показать описание
Python code is compiled every time it is imported in a new process to create a .pyc while it is interpreted when directly executed.Python code (.py files) is compiled to bytecode. Bytecode is machine independent similar to Java Bytecode.