Developed by Guido Van Rossum
Developed by Guido Van Rossum
Developed by Guido Van Rossum
• Open the terminal and change to python script directory and type
“python scriptname.py”
Part-II
Let Us Start Python
• Computers are built for one purpose - to do things for us.
• Computers can be given sets of instructions in human readable
languages that can be translated into the computer's native binary
language.
• Computers do not execute source code, which is made up of
language human programmers can understand.
• Python is one of those languages. Python is a way of giving a sets of
instructions to Python Interpreter in order to solve a problem.
• Python Interpreter translates a Python code into the computer’s
native binary language.
• Python was developed by Guido van Rossum, who was inspired by
The Monty Python's Flying Circus skits for the name.
Talking to Python
• We can talk to Python Interpreter in two ways
– Interactive mode
• You type directly to Python one line at a time and it responds
• to test short snippets of code ( Can use bundled development environment called IDLE.)
– Write Python Scripts and run them
• You enter a sequence of statements (lines) into a file using a text editor and tell Python to
execute the statements in the file