1 / 7

Compiler vs Interpreter language in Python.

This presentation will educate you about python codes, types of errors, and the differences between compiled and interpreted languages.

Download Presentation

Compiler vs Interpreter language in Python.

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Compiler Languages vs Interpreter Languages in Python. Swipe

  2. Codes in Python Machine interpretation of byte code. It is system and platform dependent. code:- The code generated after PVM:- Stands for Python Virtual Machine and is a software which comes with Python. PVM comes with Interpreter. Source Code:- .py written to develop the application. In python, (.-)file is source code. Byte code:- The code generated after the compilation of source code. (.pyc) file is byte code. Byte code is system and platform independent. It is also called p-code, portable code or object code.

  3. Type of Errors in Python:- One of Python's most significant features is error handling. It was the most important element in the growth of Python. There are mainly two type of errors in Python:- Syntax Error caught at compilation stage. Run-time Error caught at run time or interpretation stage.

  4. Python Python is an interpretive programming language. However, as Python has developed itself as a full-fledged programming language and is accepted across a broad range of applications, it has been compiled and interpreted. Compiled Languages > vs < Interpreted Languages

  5. Compiled Languages Compiled languages need compiler to translate the code. Compiler & Interpreter both are translator and are computer programs. Compiler translates the whole code from one form to another form all at once. Compiler is used to translate Source code to byte code. All Syntactical errors are caught at compilation stage in Python.

  6. Interpreted Languages Interpreted languages needs interpreter to translate the code from one form to another. Interpreter is instruction by instruction execution. Interpreter is used to translate the Byte code to Machine code. All run time errors are caught at interpretation stage.

  7. Topics for next Post Memory Management in Python Components of python program Data Types in Python Stay Tuned with

More Related