Introduction to Python

Introduction to Python

Duration: 3 Days

Description

This course is a comprehensive three-day program designed to teach Python programming. It covers a range of topics including Python basics, data types, collections, functions, object-oriented programming, modules, and exception handling. The course is structured into seven modules, each focusing on a specific aspect of Python with hands-on labs in each module.

Audience

This course is well-suited for those looking to enhance their programming skills and understanding of Python for application development and data management tasks.

Objectives

  • Develop Python applications by utilizing built-in functions and data structures
  • Apply object-oriented principles to structure your code, incorporating modules and classes
  • Demonstrate proficiency in working with functions and collections through practical exercises
  • Utilize external libraries to extend functionalities and manage various data formats effectively
  • Handle exceptions in Python efficiently and effectively

Prerequisites

This course requires basic knowledge in a procedural or object-oriented language (e.g., C, C++, Java, or SQL), understanding of fundamental programming concepts (such as variables and loops), and prior use of a text editor or IDE for coding.

Course Outline

Module 1: Python Introduction

  • Background, Uses, and Characteristics
  • Syntax and Writing Basic Code
  • Data Types, Variables, and Operators

Module 2: Control Structures

  • Conditional Statements
  • Bitwise Operators and Loops

Module 3: Collections

  • Lists, Tuples, Dictionaries, and Sets
  • Sorting and Copying Collections
  • Membership Testing
  • List Comprehensions

Module 4: Functions

  • Creating a Function
  • Recursion
  • Lambda Functions
  • Higher Order Functions

Module 5: Object-Oriented Programming

  • Basic OOP Concepts
  • Creating Classes and Instantiating Objects
  • Instance Methods
  • Inheritance and Subclassing

Module 6: Modules

  • Creating a Module
  • Built-In Modules

Module 7: Exceptions

  • Exception Handling
  • Raising an Exception
  • Custom Exception Classes