What is Python
It has efficient high-level data structures and a simple but effective approach to object-oriented programming.
Python Interpreter
Online Python interpreter
Command line /terminal based Python Interpreter
For Command line /terminal based python Interpreter we need to download python and install it on PC.
Download from https://www.python.org/downloads/
Once you downloaded and install it on Microsoft Windows OS(7,10), Go to Run>Command and type “py” or “Python” command prompt launch the python Interpreter and command prompt changed from :/> to >>. see the screen shot.
If Python doesn't run, make sure it is installed and your path is set correctly.
To get help from python documentation type “help” like shown in 2nd screen.
Typing an end-of-file character (Control-D on Unix, Control-Z on Windows) at the primary prompt causes the interpreter to exit with a zero exit status. If that doesn’t work, you can exit the interpreter by typing the following command: quit().
Comments
Post a Comment