13. 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
14. Can Do
● System Administration
● GUI programming
● Web Application
● Database Apps
● Scientific Application
● Games
● Android App development
15. Getting Familiar with python
● Extension for python file : .py
● For example
Hello.py
ALiAS.py
18. No variable data type declaration
x=5
print x
print x*9
● Python will do it for you :)
19. Input from keyboard
● Function for that: raw_input()
● It always return string type
● Example:
x=raw_input(“Enter number”)
print x
y=int(x)+2
print y
print “the final value is ”+str(y)
21. Demo 1
Program to take input from user
and print “python is awesome”, if
user enter number less than 5
otherwise print “Hello ALiAS”.
22. Demo 2
● Write a function for printing value
from array using for loop.
● Use above function in other program
by help of import.
23. Demo 3
● Program to create a file in python
and write “this is python basic
session.”
24. Demo 4
● Python program for listing file in
home directory
25. 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/