Python logo

Goals


- Master the advanced elements of the language, multi-threading and test implementation

Program

Lambda expressions
Contexts
Iterables
Generators
Decorators
Metaclasses

Workshop: Multiple creations: iterable, generator, iterator

Management of third-party
Pypi modules (Python package index)
Installation, uninstallation of an
advanced deployment package (virtualenv, buildout)

Workshop: creation and installation of modules from the central repository

Origin, catalog
Structure of a design
pattern Application of a pattern

Factory and Abstract Factory for creation under
Singleton and derivative conditions : control of available resources

Workshop: implementation of a singleton and a factory in Python

The Composite, how to simplify the
Proxy and Adapter lists , the interfaces for accessing the methods
The Facade: clarifying a component

Workshop: use of a composite in the application

Strategy: the method factory
The iterator and its existing implementations
Observe: events without events
Chain of responsibility and trees of responsibility
Visitor and access: mastery of collaboration

Workshop: implementation of an observer for monitoring variation on an object

Multithreading processes and threads : an introduction to multitasking programming
Presentation of the Threading module
Instantiation and launching of threads
Lifecycle GIL
priorities
: Global Interpreter Lock
Inter-process communication, synchronization
Notion of future
Asynchronous processing

Workshop: Implementation of multi-threading treatments

Software quality
metrics Testing process in the life cycle of a project, types, contributions
XP practices (eXtreme Programming), Test Driven Development (TDD) and styles
Testing in an agile project management
Code refactoring
Fixtures, Qualities a test code Test
coverage
Gherkin language, script generation with Cucumber

Workshop: writing tests in a project

Test case, test suite
Principle of assertions
Function feedback test
Bypass side effects with unittest.mock

Workshop: implementation of unit tests with unittest

Functional test frameworks: Selenium vs others
Sending HTTP requests
Extracting information from the data received
Parsing HTML, JSON

Workshop: Test automation with Selenium

Passing of the certification (if foreseen in the financing).

Duration

5 days

Price

£ 2564

Audience

Python Developers

Prerequisites

Have followed the course "Python: Initiation + Deepening" or equivalent concepts

Reference

PYT100589-F

Sessions

Contact us for more informations about session date