1-python-intro-1_6755310937e45_
1-python-intro-1_6755310937e45_
Using Python
6.1 Introduction to Python Programming
What is Python
§ Python is an interpreted, high-level, general-purpose
programming language.
§ Created by Guido van Rossum and released in 1991.
§ Python is Object-Oriented
§ Python is a Beginner's Language
§ Open-Source Programming Language
Visit for More Info..
Python is a programming language that
lets you work quickly and integrate
systems more effectively.
https://www.python.org
Benefits of Python
Features of Python
§ Python is Object-Oriented
§ It supports Interactive Mode
§ Broad Standard Library
§ It supports GUI Programming
§ Portable
§ Scalable and Extendable
§ Its easy to use and easy to learn
Who Uses Python
§ Google § Yahoo
§ YouTube § Quora
§ NASA § Reddit
§ Dropbox § Red Hat
§ IBM § Git Hub
§ Instagram § Cisco
§ Mozilla
Python Basics
§ Python programs and modules are written as
text files with traditionally a .py extension.
§ Before start coding, make sure that you have python installed on a
Linux or Mac, then on linux open the command line or on Mac open
the Terminal and type:
Python IDLE
IDLE is an Integrated Development
and Learning Environment for Python.
How to Write a Python Program
…………………………….
The python code has to be saved with a filename and .py extension.
For Example, Let’s save this file as test.py
How to Execute a Program
test.py file can be executed at command line by invoking the interpreter on
your application.
…………………………….
Run Python Script using an
IDLE
You can run the script by going
……………………………. "Run --> Run Module" or simply
by hitting F5
…………………………….
Any
Questions ?
Thank You!
Yasiri Ranasinghe
BSc(Hons) Computing – Coventry University, UK
[email protected]