Python Course Outline
Goal:
Prepare for developer who can efficiently understand and use various Python versions.
Pre-requisites:
Personal having user-level experience with any computer programming language and basics.
Duration:
24 hours
Course Outline:
Getting Started with Python
- Introduction
- Python- Plus and minus
- Python 2 vs Python 3
- Working in python (IDLE and Script Mode)
- IDE Selection
- Pyscripter
- Introduction
Python Fundamentals
- Character Set
- Tokens
- Barebones of Python
- Python Rules and Convention
- Data Types
- Variables in Python
- Creating Variables
- Multiple assignment
- Variable Definition
- Dynamic Typing
- Operators
- Arithmetic Operator
- Relational Operator
- Logical Operator
- Operator Precedence
- Mutable and Immutable Types
Python Input/Output
- print statement
- input()
- raw_input()
Condition and looping Statements
- If, elif and else
- For loop
- While loops
- Range
- List comprehension
Handling Lists/Array
- Creating and Accessing Lists
- Lists Operations
- Working with Lists
- List Functions and Methods
Handling Strings
- Accessing individual elements in a string
- String Operator
- String Slices
- String Functions and Methods
Tuples
- Creating and Accessing Tuples
- Tuple Operations
- Tuple Function and Methods
Sets
- Creating and Accessing Set
- Set Operations
- Set Function and Methods
Dictionary
- Key: Value Pairs
- Working with dictionaries
- Dictionary Functions and Methods
Functions
- Defining functions
- Invoking functions
- Flow to Execution
- Argument and Parameters
- Passing Parameters
- Positional/Required Arguments
- Default Arguments
- Keyword(named) Arguments
- Using Multiple Arguments Type Together
- Scope of variable
- Types of Function
- Inbuilt Functions
- User defined Functions
- Recursive Functions
- Lamda Functions
-
Modules
- Using Modules in Programs
- Writing Modules
- Importing Modules
- Using Imported Functions and Modules
- Module Search Path
- Module built-in method: dir
Packages
- Packages Introduction
- Packages Structure
- Import module from Packages
Data File Handling
- Data Files
- Opening and Closing Files
- Reading and Writing Files
- Random Access Files
- Renaming and Deleting Files in Python
- Writing and Reading Objects in Binary Files
Object Oriented Python
- OOP over Procedural Programing
- Basic Concept of OOP
- Classes and Instances
- Creating Instances/Objects
- Class members
- Built in class attributes
- Some Standard Method
- Private Attributes
- Inheritance
- Need For Inheritance
- Subclassing Scoping
Exception Handling and Generators
- Exceptions and Exception Handling
- Generators in Python
|