filmov
tv
#6 Python Implementations | CPython | Jython | PyPy | IronPython | Brython

Показать описание
00:00 start
00:20 Difference between Python Language and Python Implementation
00:50 Real world example to understand
02:06 Default Python implementation (CPython)
02:22 Check default implementation via Code
02:55 Check default implementation via Python Interpreter
03:06 Understand other Python implementations
03:39 Compare implementations with real world (color) example
04:43 Python Language Reference website
05:17 Benefit to have implementations
05:46 Code execution using CPython and Jython
06:40 check implementations website (Jython, PyPy,IronPython,Brython)
07:54 Reason to have different implementations
In this tutorial explaining different Python implementations with the real world example to understand. There is difference between Python Language and Implementations. Python language has specifications, set of rules, instructions. Python implementations understand these rules, specifications and make programs, executes code.
The real world example I took for colors. Lets assume you have colors and tried to make painting. Lets assume colors as set of rules (whether to use yellow, red, blue etc) and painting as implementation. so if you two other friends they may use these colors and make some other type of paintings. the same way it happens in programming.
you may consider these colors as specifications for Python and painting as implementation like Jython (with respect to java), PyPy (with respect to subset of Python) and IronPython (with respect to C#). so there are different implementations but they will use same set of colors.
further this has been explained that CPython compiles the code and generate Python ByteCode however Jython compiles the code and generate Java ByteCode which can be run on Java Virtual Machine. so this has major advantage as you can use Python code in JVMs. Also you can use existing Java code in Python, you can do import etc.
Please visit respective websites for more info.
Sources:
Please LIKE 👍 SHARE 🔀 and SUBSCRIBE👆 for more content!
Hit the BELL 🔔 and select - "ALL" to get updates.
#pythonimplementation #cpython #jython #pypy #ironpython #brython #hindi
00:20 Difference between Python Language and Python Implementation
00:50 Real world example to understand
02:06 Default Python implementation (CPython)
02:22 Check default implementation via Code
02:55 Check default implementation via Python Interpreter
03:06 Understand other Python implementations
03:39 Compare implementations with real world (color) example
04:43 Python Language Reference website
05:17 Benefit to have implementations
05:46 Code execution using CPython and Jython
06:40 check implementations website (Jython, PyPy,IronPython,Brython)
07:54 Reason to have different implementations
In this tutorial explaining different Python implementations with the real world example to understand. There is difference between Python Language and Implementations. Python language has specifications, set of rules, instructions. Python implementations understand these rules, specifications and make programs, executes code.
The real world example I took for colors. Lets assume you have colors and tried to make painting. Lets assume colors as set of rules (whether to use yellow, red, blue etc) and painting as implementation. so if you two other friends they may use these colors and make some other type of paintings. the same way it happens in programming.
you may consider these colors as specifications for Python and painting as implementation like Jython (with respect to java), PyPy (with respect to subset of Python) and IronPython (with respect to C#). so there are different implementations but they will use same set of colors.
further this has been explained that CPython compiles the code and generate Python ByteCode however Jython compiles the code and generate Java ByteCode which can be run on Java Virtual Machine. so this has major advantage as you can use Python code in JVMs. Also you can use existing Java code in Python, you can do import etc.
Please visit respective websites for more info.
Sources:
Please LIKE 👍 SHARE 🔀 and SUBSCRIBE👆 for more content!
Hit the BELL 🔔 and select - "ALL" to get updates.
#pythonimplementation #cpython #jython #pypy #ironpython #brython #hindi
Комментарии