Python Flavors & File Extensions


Flavors of Python
Now, let’s take a  look at major Python implementations
i. CPython
This is the foremost widely accepted implementation of Python. it's written within the language C, and is an interpreter.
ii. Jython
Jython may be a Python implementation written in Java. A Jython program can import any Java class. It compiles to Java bytecode.

iii. IronPython
IronPython is implemented in C#. It can function as an extensibility layer to application frameworks written during a .NET language.
iv. Brython
Brython stands for Browser Python. it's an implementation of Python that runs within the browser.

v. RubyPython
It acts as a bridges between the Python and Ruby interpreters. It is a marshal data between Python and Ruby virtual machines.
vi. PyPy
Interesting to understand how PyPy is Python implemented in Python. This makes it faster and easier to experiment with. However, quality implementation is CPython.
vii. MicroPython
This is an implementation of Python meant to run on a microcontroller. It uses a MicroPython board that runs MicroPython on bare metal.
Let’s move ahead during this Python tutorial and learn file extensions of Python.
File Extensions in Python
.py –The normal extensions for a Python source file
.pyc- The compiled bytecode
.pyd- A Windows DLL file
.pyo- A file created with optimizations
.pyw- A Python script for Windows
.pyz- A Python script archive
For More Information About Python Online Training Click Here
Ph No: +91- 9989971070, E-Mail ID: online@visualpath.in

Comments