PYTHON
INTRODUCTIO
N
What is python
Powerful programming language.
It was created by Guido van Rossum, and released
in 1991.
Easy to learn
Object-oriented programming.
What can Python do?
Python can be used on a server to create web
applications.
Python can connect to database systems. It can
also read and modify files.
Python can be used to handle big data and
perform complex mathematics.
Why Python?
Easy to use and Learn
Python works on different platforms (Windows,
Mac, Linux, Raspberry Pi, etc).
simple syntax similar to the English language.
Python runs on an interpreter system, meaning
that code can be executed as soon as it is
written.
Why Python?
Open Source Language
Object-Oriented Language
Learn Standard Library
GUI Programming Support
Wide Range of Libraries and Frameworks
Where is Python used?
Data Science Web Applications
Date Mining Enterprise Applications
Desktop Applications 3D CAD Applications
Console-based
Machine Learning
Applications
Image Processing
Mobile Applications
Applications.
Software Development
Speech Recognitions
Artificial Intelligence
Python code can done in 3 different ways
Immediate mode
Script mode
Integrated development Environment (IDE)
Python Indentation
Indentation refers to the spaces at the beginning
of a code line.
Python uses indentation to indicate a block of
code.
if 5 > 2:
print("Five is greater than two!")
Comments
Comments can be used to explain Python code.
Comments can be used to make the code more readable.
Comments can be used to prevent execution when testing
code.
Comments starts with a #, and Python will ignore them:
#This is a comment
print("Hello, World!")
Multi Line Comments
"""
#This is a comment
This is a comment
#written in
written in
#more than just one line
more than just one line
print("Hello, World!") """
print("Hello, World!")