Apeejay School of Management, Dwarka, New Delhi
Introduction To Python
Guest Lecture by Abhishek Prasoon
Group Scrum Master, Coforge
9th December 2022
1
About Me
• 17 years of experience in IT industry. Have been working with
companies like NIIT, HCL, Mastek, Coforge (NIIT Tech)
• 20+ IT Industry Certifications and Winner NEXT 100 and
Innovative CIO Award
• Author: The Forefront Manager and The Infallible Weapons
• Published 100+ articles and case studies on Technology and
Management
• Orator on various platforms, avid traveler and Yoga enthusiast
LinkedIn - https://www.linkedin.com/in/abhishekprasoon/
Contact Me – aprasoonin@yahoo.com
2
Disclaimer
Any views or opinions represented in the lecture are my own and do not represent those of the
people, institutions, or organizations that I may or may not be associated with in professional or
personal capacity, including past, current, and future employers unless explicitly stated.
3
Agenda
1. Introduction to Python
2. Development Environment Setup
3. Python Basics Syntax
4. Sample Python Programs
5. Continuing your Python journey
6. Quiz
7. Q&A and Doubts clearance session
4
Duration – 60 min.
5
Guido van Rossum Python Software Foundation (2001)
6
7
8
Popular Python Frameworks
Python Web framework is a collection of packages or modules that allow developers to write Web
applications or services.
9
10
Development Environment Setup (IDE and Editors)
https://www.programiz.com/python-programming/online-compiler/
https://www.onlinegdb.com/online_python_compiler
11
12
Execution of Python Program
13
Python Basics Syntax
• Variables, Data types, Receiving Input, Type Conversion
• Python Collections (Arrays) - List, Tuple, Set, Dictionary
• Functions – User defined, Built-in Functions, Math Functions
• Flow Control - If Statements, For Loops, Do While
• Operators – Arithmetic, Assignment, Comparison, Logical, Identity, Membership, Bitwise, Operator
Precedence
14
Sample Python Programs
15
Continuing your Python journey
16
Python Concepts
17
Comments Iterators Python Matplotlib Python Editors (IDEs) Python Best Practices
Variables Scope Python for Machine Learning Recursion Performance Improvement
Data Types Modules Python MySQL Connector Decorators Application Security
Numbers Dates Python MongoDB Connector Generators Validations
Casting Math Python Reference OOPS Concepts Python for Data Science
Strings JSON Built-in Functions Multithreading Python for AI/ML
Booleans Regular Expressions (RegEx) String Methods Binary Search Python for Web Development
Operators PIP (Package Manager) List Methods Bubble Sort Python for Game Development
Lists Try...Except Dictionary Methods GitHub for Python Python for DevOps
Tuples User Input Tuple Methods Socket Programming Python Code Tools
Sets String Formatting Set Methods Integration Database Access
Dictionaries File Handling File Methods Data Structures Serialization
If...Else Read/Write Files Keywords The Zen of Python Partial Functions
While Loops Create/Delete Files Exceptions GUI Programming Code Introspection
For Loops Python Documentation Python Glossary Python Extensions Closures
Functions Python Modules Module Reference XML Processing Decorators
Lambda NumPy Random Module Python Networking Map, Filter, Reduce
Arrays Pandas Requests Module Significant Indentation Multiple Function Arguments
Classes/Objects SciPy Statistics Module Python Libraries Modules and Packages
Inheritance Django Math Module Major Implementations Statistics in Python
18
19
20
Quiz Time
Rules:
Please do not use Google.
Please raise your hand if you know the answer. First, the correct answer will get the prize.
If you already won, please do not participate and provide opportunities for other to win.
1. Python is Open Source or Proprietary?
2. What is the latest version of Python?
3. Python can execute and run on multiple Operating Systems (Windows, macOS, Linux/Unix) – True / False
4. Extensions of Python File are: .py, .pyi, .pyc, .pyd, .pyw, and .pyz or all?
5. Python uses whitespace indentation or curly brackets or keywords, to delimit blocks?
6. Python is a case-sensitive language – True / False
7. Python is a dynamically typed language. – True / False
8. Python is Interpreted or Compiled language?
9. Tell me the name of 5 String Functions
10. Write a program to convert Kilometers to Miles
(Hint 1 KM = 0.621371 Mile, use your notebook to write pseudocode)
21
22
Queries, Feedback and Suggestion
LinkedIn - https://www.linkedin.com/in/abhishekprasoon/
Contact Me – aprasoonin@yahoo.com
Twitter - @aprasoonin

Introduction To Python

  • 1.
    Apeejay School ofManagement, Dwarka, New Delhi Introduction To Python Guest Lecture by Abhishek Prasoon Group Scrum Master, Coforge 9th December 2022 1
  • 2.
    About Me • 17years of experience in IT industry. Have been working with companies like NIIT, HCL, Mastek, Coforge (NIIT Tech) • 20+ IT Industry Certifications and Winner NEXT 100 and Innovative CIO Award • Author: The Forefront Manager and The Infallible Weapons • Published 100+ articles and case studies on Technology and Management • Orator on various platforms, avid traveler and Yoga enthusiast LinkedIn - https://www.linkedin.com/in/abhishekprasoon/ Contact Me – aprasoonin@yahoo.com 2
  • 3.
    Disclaimer Any views oropinions represented in the lecture are my own and do not represent those of the people, institutions, or organizations that I may or may not be associated with in professional or personal capacity, including past, current, and future employers unless explicitly stated. 3
  • 4.
    Agenda 1. Introduction toPython 2. Development Environment Setup 3. Python Basics Syntax 4. Sample Python Programs 5. Continuing your Python journey 6. Quiz 7. Q&A and Doubts clearance session 4 Duration – 60 min.
  • 5.
    5 Guido van RossumPython Software Foundation (2001)
  • 6.
  • 7.
  • 8.
    8 Popular Python Frameworks PythonWeb framework is a collection of packages or modules that allow developers to write Web applications or services.
  • 9.
  • 10.
    10 Development Environment Setup(IDE and Editors) https://www.programiz.com/python-programming/online-compiler/ https://www.onlinegdb.com/online_python_compiler
  • 11.
  • 12.
  • 13.
    13 Python Basics Syntax •Variables, Data types, Receiving Input, Type Conversion • Python Collections (Arrays) - List, Tuple, Set, Dictionary • Functions – User defined, Built-in Functions, Math Functions • Flow Control - If Statements, For Loops, Do While • Operators – Arithmetic, Assignment, Comparison, Logical, Identity, Membership, Bitwise, Operator Precedence
  • 14.
  • 15.
  • 16.
  • 17.
    17 Comments Iterators PythonMatplotlib Python Editors (IDEs) Python Best Practices Variables Scope Python for Machine Learning Recursion Performance Improvement Data Types Modules Python MySQL Connector Decorators Application Security Numbers Dates Python MongoDB Connector Generators Validations Casting Math Python Reference OOPS Concepts Python for Data Science Strings JSON Built-in Functions Multithreading Python for AI/ML Booleans Regular Expressions (RegEx) String Methods Binary Search Python for Web Development Operators PIP (Package Manager) List Methods Bubble Sort Python for Game Development Lists Try...Except Dictionary Methods GitHub for Python Python for DevOps Tuples User Input Tuple Methods Socket Programming Python Code Tools Sets String Formatting Set Methods Integration Database Access Dictionaries File Handling File Methods Data Structures Serialization If...Else Read/Write Files Keywords The Zen of Python Partial Functions While Loops Create/Delete Files Exceptions GUI Programming Code Introspection For Loops Python Documentation Python Glossary Python Extensions Closures Functions Python Modules Module Reference XML Processing Decorators Lambda NumPy Random Module Python Networking Map, Filter, Reduce Arrays Pandas Requests Module Significant Indentation Multiple Function Arguments Classes/Objects SciPy Statistics Module Python Libraries Modules and Packages Inheritance Django Math Module Major Implementations Statistics in Python
  • 18.
  • 19.
  • 20.
    20 Quiz Time Rules: Please donot use Google. Please raise your hand if you know the answer. First, the correct answer will get the prize. If you already won, please do not participate and provide opportunities for other to win. 1. Python is Open Source or Proprietary? 2. What is the latest version of Python? 3. Python can execute and run on multiple Operating Systems (Windows, macOS, Linux/Unix) – True / False 4. Extensions of Python File are: .py, .pyi, .pyc, .pyd, .pyw, and .pyz or all? 5. Python uses whitespace indentation or curly brackets or keywords, to delimit blocks? 6. Python is a case-sensitive language – True / False 7. Python is a dynamically typed language. – True / False 8. Python is Interpreted or Compiled language? 9. Tell me the name of 5 String Functions 10. Write a program to convert Kilometers to Miles (Hint 1 KM = 0.621371 Mile, use your notebook to write pseudocode)
  • 21.
  • 22.
    22 Queries, Feedback andSuggestion LinkedIn - https://www.linkedin.com/in/abhishekprasoon/ Contact Me – aprasoonin@yahoo.com Twitter - @aprasoonin