How python Works
https://oneminreads.blogspot.com/2020/08/how-python-works.html
Python started as a hobby project by Guido Van Rossum and was first released in 1991.
A general purpose language, Python is powering large chunk of many companies like Netflix and Instagram.
Python is garbage collected and dynamically type.
Python is interpreted language not complied .Coding will written as with .py extension.
Python complied and converted as bytecode which is stored with a .pyc or .pyo format.
Instead of executing instructions , Byte code will be executed in virtual machine.
Python code will be execute windows/mac and machine where the interpreter is installed. Python is intended language and provides lots of freedom.
The conversion of byte code and then executing it in machine do take some extra time. Garbage collector work in different and its a manual process.
Python used reference counting to clear the memory.
For c program it used cpython and for java it uses jpython.
Core philosophy of python :
- Beautiful is better than ugly.
- Explicit is better than implicit.
- Simple is better than complex.
- Complex is better than complicated.
- Readability counts.
Comments