compiler, then the complete source code of a programming language is first translated into a low-level machine language and then the machine language is executed. But, if the source code is huge, then compiling may take lots of time.
An interpreter is a computer program that executes the instructions of a programming language directly without compiling it into an assembly language or machine code. An interpreter often translates each instruction of a programming language into an intermediate code and then executes the intermediate code immediately.
Programming languages like C, C++ use compilers. But, Python, PHP, JavaScript, etc. are examples of interpreted programming languages.
Why is Python an interactive programming language?
Python is an interactive programming language. One can use the Python prompt to interact with the Python interpreter directly. One can write each line of code, press the return key and if the entered code is correct, the result will be printed on the screen. Using interactive Python debugging becomes much easier.
Where is Python used?
Python programming language can be used for:
- Developing websites
- Task automation
- Data analysis
- Data visualization
- Scientific and numeric computations
- Developing desktop GUIs
- Software development, etc.








































0 Comments