Python programming and Applications
Head Office: Branch Office:
4th Floor, IDCO Towers,1 Janpath Plot No.3 ,Behind Bigbazaar
Bhubaneswar, Odisha KIIT Square, Bhubaneswar, Odisha
9238022755 9238022751
Delivered By : Mr Ranjan Das
TOP Companies that use python
Google
youtube
Instagram
DropBox
Mozila
Bittorrent
NASA
FaceBook
IBM
Quora
REDDIT
EVE online (online game)
And many more
Why you learn Python???????
Python is one of the most popular programming
languages in the world now a days.
Any type of application can be developed by python.
standalone application
web based application
mobile applications
Games etc
Python is preferred in the emerging areas like
Data Science, Machine Learning,
IOT(Internet Of Things)
Why python popular
• Simple
• Open source
• Very high-level language
• Dynamically typed
• Platform independent
• Procedure and object oriented
• Faster software development
• Huge third party library support
C,C++,Java, Python( 4 Popular languages)
C C++ Java Python
Devloped by Developed by Developed by Developed by
Denis Ritchie Bjarne stroustrup James Gosling Guido van Rossum
1972 1980 1991 1991
Wny name C? Why name C++ Why name java? Why name
B BCPL C+OOP Name of a coffee python?
seed form java According to name
C island of Monty Python
POP OOP OOP Both POP and
OOP
Compiler Compiler Both compiler and Interpreter(internall
interpreter y compiled)
Static typing Static typing Static typing Dynamic typing
High level language High level language High level language Very High level
language
Not platform Not platform Platform Platform
indipendent indipendent indipendent indipendent
C program to display “Hello”
#include<stdio.h>
void main()
{
printf(“Hello”);
}
C ++program to display “Hello”
#include<iostream>
using namespace std;
int main()
{
cout<<“Hello”;
return(0);
}
Java program to display “Hello”
class Test
{
public static void main(String[]args)
{
System.out.println(“Hello”);
}
}
Python program to display “Hello”
print(“Hello”)
How to Install Python
Open www.python.org
Download python 3.7.3 according to 32 bit or 64 bit as
per your system specification.
Now install on your system
How to Run Python Programs
Interactive mode or Python interpreter mode
Script mode
IDLE(Integrated Development Environment)
Basics
Variable
Keywords
Indentation
Comment lines
Input and output
Simple programs
Assignments
Data Types
Number
String
List
Tuple
Dictionary
Set
Assignments
Decision Control
If
If else
If elif else
Nested if else
Assignments
Loop control
While loop
For in loop
Assignments
Function
Defining function
Function call
Return statement
Call by value or reference
Module
What is a Module
Creating a module
Different ways to import module
Any questions ???????
Authorised Training Center Of CDAC
Branch Office:
Head Office:
Plot No.3 ,Behind Bigbazaar
4th Floor, IDCO Towers,1 Janpath
KIIT Square, Bhubaneswar, Odisha
Bhubaneswar, Odisha
9238022751
9238022755