Skip to content

This repository contains practical implementation of advance Python concepts.

Notifications You must be signed in to change notification settings

surajkarki66/Advance-Python

Repository files navigation

Advance-Python

Introduction

Actually Python is both interpreted and compiled language. The question is how Python run the code.

    1. So, at first we write a Python code stored in a file with .py extension. Then a compiler compiled the source code into special byte code at that time the compiler also checks the Python syntax.
    1. The Python compiler compiled the code behind the scene so we don't have to compile it manually.
    1. The byte code is not understand by cpu.
    1. Now, there is an Interpreter which is also called Python Virtual Environment(PVM) which takes that byte code and read the byte code line by line (one line at a time) and convert that byte code into Machine Code.
    1. Here we use byte code for portability.So every computer should have virtual machine (PVM) to interpreted that byte code.
    1. The python code we write is actually CPython.
    1. All language have one compiling phase. So, no language is only interpreted that language is also compiled.

About

This repository contains practical implementation of advance Python concepts.

Topics

Resources

Stars

Watchers

Forks

Languages