Python● Interpreter Based language● Designed to be easy to learn and master -> clear syntax -> Very few keyword● Highly portable -> Run on all platform(OS)● Large set of library -> libraries for huge number of software
Can Do● System Administration● GUI programming● Web Application● Database Apps● Scientific Application● Games● Android App development
Getting Familiar with python● Extension for python file : .py● For example Hello.py ALiAS.py
Demo 1Program to take input from userand print “python is awesome”, ifuser enter number less than 5otherwise print “Hello ALiAS”.
Demo 2● Write a function for printing value from array using for loop.● Use above function in other program by help of import.
Demo 3● Program to create a file in python and write “this is python basic session.”
Demo 4● Python program for listing file in home directory
Where to refer ?● Python Website: documentation http://www.python.org/● Dive into python:ebook http://www.diveintopython.net● How to think like a computer scientish: ebook http://www.greenteapress.com/