SlideShare a Scribd company logo
‫ر‬a
Introduction to Python
name: ahmed mashaf al-Mutairi
ID:382105541
Dr.KhaledNazem
Department of Computer Science
and Information
Majmaah University
Introduction to
Python
Python is a high-level programming language known for its simplicity
and ease of use.
It is often used for web development, data analysis, artificial
intelligence, and scientific computing.
Python's clear syntax and large standard library make it an ideal
choice for beginners and professionals alike.
‫ر‬a
History of Python
1 Birth of Python
Python was created by Guido van Rossum in the late 1980s with a focus
on code readability.
2 First Release
The first version of Python, version 0.9.0, was released in February 1991.
3 Growth in Popularity
Python gained significant momentum and community support in the
early 2000s.
Features of Python
• Readability: Python syntax is designed to be clear and easily
understandable, emphasizing code readability.
• Extensive standard library: Python comes with a large library
of modules and functions, providing support for many
common programming tasks.
• Dynamic typing: Python is dynamically typed, allowing for
flexibility and ease of use when working with data types.
Python Syntax and Data
Types
Python's syntax is clean and simple, making it easy to read and write.
It supports diverse data types such as strings, numbers, lists, tuples,
and dictionaries.
Understanding Python's syntax and data types is fundamental for
effective programming and data manipulation.
Control flow statements in Python
Conditional
Statements
Use if, else, and elif to
make decisions based on
conditions.
Loops
Utilize for and while loops
to iterate through code
multiple times.
Break and Continue
Interrupt loops using break
and skip iterations with
continue.
Functions and modules in Python
In Python, functions are defined using the def keyword and can take multiple arguments. Modules
in Python are files containing Python code. Using functions and modules helps in organizing code
and promoting reusability.
Python provides various built-in modules for commonly used functions such as math, os, datetime,
and more. Additionally, developers can create their own modules to package reusable code for
different projects.
Understanding functions and modules is fundamental in Python programming and plays a crucial
role in creating scalable and maintainable codebases.
For more information on Python functions and modules, check out Python official documentation.
Object-oriented programming in
Python
1
Classes and Objects
Blueprint for creating objects
2
Inheritance
Ability for a class to inherit properties
3
Polymorphism
Multiple forms of the same method
Object-oriented programming in Python involves the use of classes, inheritance, and
polymorphism. Classes act as blueprints for creating objects, while inheritance allows a class to
inherit the properties of another class. Polymorphism enables the existence of multiple forms of
the same method within the program.
File handling in Python
File handling in Python involves various
operations such as reading, writing, and
manipulating files. Python provides built-in
functions and methods for file operations,
making it convenient to work with files of
different formats.
Python libraries and frameworks
Django
A high-level Python
web framework that
encourages rapid
development and
clean, pragmatic
design.
Pandas
A powerful data
manipulation and
analysis library that
offers data
structures and
operations for
manipulating
numerical tables and
time series.
TensorFlow
An open-source
machine learning
framework for
building and training
machine learning
models.
Flask
A lightweight WSGI
web application
framework known
for its simplicity and
flexibility.
Conclusion and Resources
Python's Versatility
Python's versatility makes it suitable for a
wide range of applications, from web
development to data analysis and
artificial intelligence.
Community Support
The vast community of Python
developers offers a wealth of resources,
tutorials, and support forums for learners
and experienced professionals.
Extensive Libraries
Python's extensive libraries, like NumPy
and Pandas, provide powerful tools for
scientific computing and data
manipulation.
Continuous Development
Python's active development ensures that
it remains at the forefront of
technological innovation and adaptation.
https://en.wikipedia.org/wiki/Python_(programming_language)
https://www.codecademy.com/learn/learn-python
https://developers.google.com/edu/python?hl=ar
References

More Related Content

Similar to introduction to data science programming.pptx (20)

PPTX
Python a Versatile Programming Language - Introduction
Jainul Musani
 
PDF
Python Training in Mohali
excellence0
 
PDF
Introduction to Python
DrMohammed Qassim
 
PPTX
Python Course in Noida. pptx
APTRON Solutions Noida
 
PDF
From Basics to Advanced: A Comprehensive Python Programming Guide
pallavichauhan2525
 
PPTX
7 Benefits of Using Python Programming Language.pptx
Surendra Singh
 
PDF
Python Course in Delhi.pdf
tarun
 
PDF
Python: The Versatile Programming Language - Introduction
Jainul Musani
 
PPTX
Ultimate Guide to Hire Dedicated Python Developers for Scalable Backend Solut...
Tuvoc Technologies
 
PPTX
Python-A-Programming-Language-Essentials.pptx
HarmandirSingh
 
PPTX
Python
onlinetraining3
 
PPTX
Introduction to Python.pptx
SamyakJain461
 
DOCX
Define Function In Python | Python Lambda Function | Python Functions
AbhinavSharma309481
 
PPTX
ppt on python course in Chandigarh/ python training in Chandigarh
akshanshparmar
 
DOCX
Contact Book Project in Python for Beginners.docx
AbhinavSharma309481
 
PDF
Unleashing the Potential: Navigating the Versatility and Simplicity of Python...
Flexsin
 
PDF
Python Programming
SheikAllavudeenN
 
PPTX
Python masterclass , what is python why it is important
excellence technology
 
PPTX
PYTHION IN DETAIL INFORMATION EDUCATIONAL
auramarketings
 
PPTX
PYTHON IN DETAIL INFORMATION EDUCATIONAL
auramarketings
 
Python a Versatile Programming Language - Introduction
Jainul Musani
 
Python Training in Mohali
excellence0
 
Introduction to Python
DrMohammed Qassim
 
Python Course in Noida. pptx
APTRON Solutions Noida
 
From Basics to Advanced: A Comprehensive Python Programming Guide
pallavichauhan2525
 
7 Benefits of Using Python Programming Language.pptx
Surendra Singh
 
Python Course in Delhi.pdf
tarun
 
Python: The Versatile Programming Language - Introduction
Jainul Musani
 
Ultimate Guide to Hire Dedicated Python Developers for Scalable Backend Solut...
Tuvoc Technologies
 
Python-A-Programming-Language-Essentials.pptx
HarmandirSingh
 
Introduction to Python.pptx
SamyakJain461
 
Define Function In Python | Python Lambda Function | Python Functions
AbhinavSharma309481
 
ppt on python course in Chandigarh/ python training in Chandigarh
akshanshparmar
 
Contact Book Project in Python for Beginners.docx
AbhinavSharma309481
 
Unleashing the Potential: Navigating the Versatility and Simplicity of Python...
Flexsin
 
Python Programming
SheikAllavudeenN
 
Python masterclass , what is python why it is important
excellence technology
 
PYTHION IN DETAIL INFORMATION EDUCATIONAL
auramarketings
 
PYTHON IN DETAIL INFORMATION EDUCATIONAL
auramarketings
 

More from nazimsattar (20)

PPT
different Data_Analysis concepts in data science
nazimsattar
 
PPT
Data Munging in concepts of data mining in DS
nazimsattar
 
PDF
Class diagram and its importance in software
nazimsattar
 
PDF
GRASP_Designing Objects With Responsibilities.pdf
nazimsattar
 
PPT
Memory management principles in operating systems
nazimsattar
 
PPT
Deadlock principles in operating systems
nazimsattar
 
PDF
overview of natural language processing concepts
nazimsattar
 
PDF
introduction to natural language processing
nazimsattar
 
PPT
HCI_usable_user_interface_productivity in HCI
nazimsattar
 
PPT
HCI_user_interaction_Design_interaction design
nazimsattar
 
PPT
Introduction to the operating and its types
nazimsattar
 
PPT
Operating systems structures and their practical applications
nazimsattar
 
PPT
Block_Chain_Technology and its concepts in reality
nazimsattar
 
PPT
Edge Computing and its related technologies
nazimsattar
 
PPTX
The Real time applications of Virtual Reality
nazimsattar
 
PPTX
Marketing of AI technology in real life examples
nazimsattar
 
PPT
system analysis and design used in software
nazimsattar
 
PPTX
MYSql_Relational Data Base Management Sytem
nazimsattar
 
PPTX
Software Engineering1 Development models
nazimsattar
 
PPTX
software Design in software engineering1
nazimsattar
 
different Data_Analysis concepts in data science
nazimsattar
 
Data Munging in concepts of data mining in DS
nazimsattar
 
Class diagram and its importance in software
nazimsattar
 
GRASP_Designing Objects With Responsibilities.pdf
nazimsattar
 
Memory management principles in operating systems
nazimsattar
 
Deadlock principles in operating systems
nazimsattar
 
overview of natural language processing concepts
nazimsattar
 
introduction to natural language processing
nazimsattar
 
HCI_usable_user_interface_productivity in HCI
nazimsattar
 
HCI_user_interaction_Design_interaction design
nazimsattar
 
Introduction to the operating and its types
nazimsattar
 
Operating systems structures and their practical applications
nazimsattar
 
Block_Chain_Technology and its concepts in reality
nazimsattar
 
Edge Computing and its related technologies
nazimsattar
 
The Real time applications of Virtual Reality
nazimsattar
 
Marketing of AI technology in real life examples
nazimsattar
 
system analysis and design used in software
nazimsattar
 
MYSql_Relational Data Base Management Sytem
nazimsattar
 
Software Engineering1 Development models
nazimsattar
 
software Design in software engineering1
nazimsattar
 
Ad

Recently uploaded (20)

PDF
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
GRADE-3-PPT-EVE-2025-ENG-Q1-LESSON-1.pptx
EveOdrapngimapNarido
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PPTX
Neurodivergent Friendly Schools - Slides from training session
Pooky Knightsmith
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PDF
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
The History of Phone Numbers in Stoke Newington by Billy Thomas
History of Stoke Newington
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
GRADE-3-PPT-EVE-2025-ENG-Q1-LESSON-1.pptx
EveOdrapngimapNarido
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
Neurodivergent Friendly Schools - Slides from training session
Pooky Knightsmith
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Ad

introduction to data science programming.pptx

  • 1. ‫ر‬a Introduction to Python name: ahmed mashaf al-Mutairi ID:382105541 Dr.KhaledNazem Department of Computer Science and Information Majmaah University
  • 2. Introduction to Python Python is a high-level programming language known for its simplicity and ease of use. It is often used for web development, data analysis, artificial intelligence, and scientific computing. Python's clear syntax and large standard library make it an ideal choice for beginners and professionals alike. ‫ر‬a
  • 3. History of Python 1 Birth of Python Python was created by Guido van Rossum in the late 1980s with a focus on code readability. 2 First Release The first version of Python, version 0.9.0, was released in February 1991. 3 Growth in Popularity Python gained significant momentum and community support in the early 2000s.
  • 4. Features of Python • Readability: Python syntax is designed to be clear and easily understandable, emphasizing code readability. • Extensive standard library: Python comes with a large library of modules and functions, providing support for many common programming tasks. • Dynamic typing: Python is dynamically typed, allowing for flexibility and ease of use when working with data types.
  • 5. Python Syntax and Data Types Python's syntax is clean and simple, making it easy to read and write. It supports diverse data types such as strings, numbers, lists, tuples, and dictionaries. Understanding Python's syntax and data types is fundamental for effective programming and data manipulation.
  • 6. Control flow statements in Python Conditional Statements Use if, else, and elif to make decisions based on conditions. Loops Utilize for and while loops to iterate through code multiple times. Break and Continue Interrupt loops using break and skip iterations with continue.
  • 7. Functions and modules in Python In Python, functions are defined using the def keyword and can take multiple arguments. Modules in Python are files containing Python code. Using functions and modules helps in organizing code and promoting reusability. Python provides various built-in modules for commonly used functions such as math, os, datetime, and more. Additionally, developers can create their own modules to package reusable code for different projects. Understanding functions and modules is fundamental in Python programming and plays a crucial role in creating scalable and maintainable codebases. For more information on Python functions and modules, check out Python official documentation.
  • 8. Object-oriented programming in Python 1 Classes and Objects Blueprint for creating objects 2 Inheritance Ability for a class to inherit properties 3 Polymorphism Multiple forms of the same method Object-oriented programming in Python involves the use of classes, inheritance, and polymorphism. Classes act as blueprints for creating objects, while inheritance allows a class to inherit the properties of another class. Polymorphism enables the existence of multiple forms of the same method within the program.
  • 9. File handling in Python File handling in Python involves various operations such as reading, writing, and manipulating files. Python provides built-in functions and methods for file operations, making it convenient to work with files of different formats.
  • 10. Python libraries and frameworks Django A high-level Python web framework that encourages rapid development and clean, pragmatic design. Pandas A powerful data manipulation and analysis library that offers data structures and operations for manipulating numerical tables and time series. TensorFlow An open-source machine learning framework for building and training machine learning models. Flask A lightweight WSGI web application framework known for its simplicity and flexibility.
  • 11. Conclusion and Resources Python's Versatility Python's versatility makes it suitable for a wide range of applications, from web development to data analysis and artificial intelligence. Community Support The vast community of Python developers offers a wealth of resources, tutorials, and support forums for learners and experienced professionals. Extensive Libraries Python's extensive libraries, like NumPy and Pandas, provide powerful tools for scientific computing and data manipulation. Continuous Development Python's active development ensures that it remains at the forefront of technological innovation and adaptation.