Python programming 2



Kursarrangør: SG Partner AS
Sted: Nettkurs / Nettstudie
Hele landet
Type:Bedriftsinternt / Større grupper
Nettkurs og nettstudie
Studie / yrkesutdanning
Undervisningstid: Ta kontakt for informasjon
Varighet: 3 dager

The Python programming 2 course comprises sessions dealing with advanced object orientation, iterators and generators, comprehensions, decorators, multithreading, functional programming, web services, and unit testing.

Course overview:
The delegate will learn how to exploit advanced features of the Python language to build complex and efficient applications. Exercises and examples are used throughout the course to give practical hands-on experience with the techniques covered.

Course objectives:
This 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 day 1:
Python programming 2 training course course contents - day 1

Course 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
• 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

Course content day 2:
Python programming 2 training course course contents - day 2

Session 4 - Functional programming:
• Functional programming
• Lambdas
• Immutability
• Mapping
• Filtering
• Reducing

Session 5 - Decorators:
• Decorators
• Decorator functions
• Decorator annotations
• Decorator use cases
• Labs

Session 6 - Multithreading:
• Threads
• Multithreading
• Thread construction
• Thread execution
• Thread sleep
• Joins
• Data sharing
• Synchronisation
• Multithreading vs. multiprocessing

Course content day 3:
Python programming 2 training course course contents - day 3

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

Target audience:
The 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.

Prerequisites:
• Delegates 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.