Python Programming 2
- Course Code PYP2
- Duration 3 days
Course Delivery
Jump to:
Course Delivery
This course is available in the following formats:
-
Company Event
Event at company
-
Public Classroom
Traditional Classroom Learning
-
Virtual Learning
Learning that is virtual
Request this course in a different delivery format.
Course Overview
TopEnglish - Please note this course is only available in English.
Nederlands - Let op: deze training is alleen in het Engels beschikbaar.
Français - Veuillez noter que ce cours est uniquement disponible en anglais.
The Python Programming 2 course comprises sessions dealing with advanced object orientation,iterators and generators,comprehensions,decorators,
Course Schedule
Top-
- Delivery Format: Virtual Learning
- Date: 21-23 December, 2026 | 10:30 AM to 6:00 PM
- Location: Virtual (W. Europe )
- Language: English
-
- Delivery Format: Virtual Learning
- Date: 20-22 January, 2027 | 10:30 AM to 6:00 PM
- Location: Virtual (W. Europe )
- Language: English
-
- Delivery Format: Virtual Learning
- Date: 17-19 February, 2027 | 10:30 AM to 6:00 PM
- Location: Virtual (W. Europe )
- Language: English
-
- Delivery Format: Virtual Learning
- Date: 22-24 March, 2027 | 10:30 AM to 6:00 PM
- Location: Virtual (W. Europe )
- Language: English
Target Audience
TopThe Python Programming 2 course is designed for existing Python developers who have a good grounding in the basics and want to exploit some of the advanced features of the language.
For the delegate for whom Python is their first programming language,we recommend taking the Python Programming 1 course first,then taking some time to practice the skills gained,before returning to take the Python Programming 2 course.
Course Objectives
TopThis course aims to provide the delegate with the knowledge to be able to interpret,write,and troubleshoot complex Python applications exploiting inheritance and polymorphism,mixins,composition and aggregation,iterators,generators,decorators,comprehension,concurrency,functional programming,and RESTful web services.
Course Content
TopCourse Introduction
- Administration and Course Materials
- Course Structure and Agenda
- Delegate and Trainer Introductions
Session 1: ADVANCED OBJECT ORIENTATION
- The self Keyword
- Constructors and Destructors
- Encapsulation
- Inheritance
- Introspection with __dict__,__name__,__module__,__bases__
- The hasattr(obj,attr),dir(obj),help(obj) functions
- Polymorphism
- Abstract Classes
- Multiple Inheritance and Mixins
- Composition and Aggregation
- Static Members
Session 2: ITERATORS & GENERATORS
- Iterables
- Iterators
- Custom Iterators
- Generators
- Yield vs. Return
Session 3: COMPREHENSIONS
- List Comprehension
- Set Comprehension
- The zip Function
- Dictionary Comprehension
Session 4: DECORATORS
- Decorators
- Decorator Functions
- Decorator Annotations
- Decorator Use Cases
- Labs
Session 5: FUNCTIONAL PROGRAMMING
- Functional Programming
- Lambdas
- Immutability
- Mapping
- Filtering
- Reducing
Session 6: MULTITHREADING
- Threads
- Multithreading
- Thread Construction
- Thread Execution
- Thread Sleep
- Joins
- Data Sharing
- Synchronisation
- Multithreading vs. Multiprocessing
Session 7: WEB SERVICES
- RESTful Web Services
- JSON Data
- CRUD and HTTP
- RESTful Clients
- RESTful APIs
Session 8: UNIT TESTING
- Unit Testing Terminology
- Test Classes
- Test Fixtures
- Test Cases
- Assertions
- Test Runners
Course Prerequisites
TopDelegates should be able to build Python applications that exploit all fundamental elements of the language including variables and expressions,conditions and loops,functions,objects,and lists. This knowledge can be gained by attendance on the pre-requisite Python Programming 1 course.