Initiation to python programming

Duration: 3 days

Prerequisites: Basic knowledge about how to use a computer (installing software applications

Objectives

  • Learning Programming fundamentals
  • Getting familiar with the Python’s programming language
  • Getting used to designing and implementing nontrivial or complex programs

Content

  1. Introduction to programming
    • History of Python
    • Compilation and interpretation
    • Machine language
    • Development tools (Pycharm IDE)
    • Using the python console
    • Reading the documentation and finding answers online
  2. Programming ABCs
    • Instructions
    • Expressions
    • Variables
    • Conditional structures [if clause, if-else clause, if-elif-else clause]
    • Iterative structures [for and while loops]
  3. Functions
    • Functional decomposition
    • Recursive functions
    • Function prototype (or signature)
    • Distinguishing parameters and arguments
    • Return value
  4. Complex types and containers
    • Lists
    • Tuples
    • Dictionary
    • Set
  5. Object Oriented Programming (OOP)
    • Classes
    • Objects
    • Constructor, attributes and methods
    • Inheritance
    • Encapsulation
    • Polymorphism and composition
  6. Handling errors and exceptions
    • Try-except
    • Try-except-else
    • Try-except-finally
    • Exception aliasing
    • Create your custom exception
  7. Going further with extra topics
    • Graphical User Interface (GUI)
    • Libraries (Turtle, requests)
    • Virtual environments

 

Learn more

LET'S GET YOUR PROJECT STARTED!