Course Info

Main advantage: better Python usage in your company, so that developers work faster and write better code, that is easier, faster and cheaper to maintain

Duration: 3 days x 7 hours brutto (i.e. including breaks) + consultations after every course day
Format: workshop (70% workshop / 30% lecture)
Venue: client’s office or other place chosen by the client, in Europe
Enrollment: in-house on-site course for a group of people within one company
Group size: max 10 delegates
Course language: English or Polish or both during the same training
Audience: Python developers, team leaders, architects, analysts, DevOps, R&D, testers
Audience requirements: intermediate or advanced Python knowledge and experience

Course Syllabus

I. Intermediate Object Oriented Programming

  1. __str__ vs __repr__
  2. __str__ Method vs str() Function
  3. Classes Imitating Functions with __call__ Special Method
  4. Encapsulation – Interface vs Implementation
  5. Protected Attributes
  6. Private Attributes
  7. Read-Only @property
  8. Read-and-Write @property
  9. Introducing Encapsulation to an Existing Class without Breaking the Interface with @property
  10. Variable Annotations
  11. Dataclasses: Usage, Default Values, Default Values Trap, Default Value Factory, Fields Customisation, __post_init__
  12. Introduction to Single Inheritance
  13. Attribute Lookup Mechanism
  14. Code Reusage with Inheritance
  15. Method Overloading
  16. super()

II. Advanced Object Oriented Programming

  1. Special Methods Recap
  2. object Class
  3. defaultdict Data Structure
  4. Inheriting from Builtin Classes, i.e. Data Structures
  5. @classmethod
  6. Alternative Constructors with @classmethod
  7. @staticmethod
  8. Descriptors
  9. Bound vs Unbound Method
  10. Slots
  11. Including __dict__ in Slots
  12. Abstract Base Classes
  13. Multiple Inheritance: Fundamentals, MRO (Method Resolution Order), Diamond Problem, super() Behaviour
  14. Mixin Classes
  15. Metaclasses: type Metaclass, Writing Your Own Function-based and Class-based Metaclasses, Use Cases, Simpler Approaches

III. SOLID Principles

We discuss SOLID principles that makes code easier to read and maintain. This part is supplemented with exercises showing how to apply (and how not to do this) SOLID in Python. This will be helpful in the second step of each iteration in TDD (as well as BDD), that is writing production code.

IV. Introduction do Design Patterns

  1. Classification
  2. Design Patterns Objectives

V. Creational Patterns

  1. Singleton
  2. Factory Method
  3. Abstract Factory
  4. Prototype
  5. Builder

VI. Structural Patterns

  1. Adapter
  2. Decorator
  3. Composite
  4. Proxy
  5. Facade
  6. Flyweight
  7. Bridge

VII. Behavioral Patterns

  1. Template Method
  2. Strategy
  3. State
  4. Chain of Responsibility
  5. Command
  6. Memento
  7. Observer
  8. Visitor
  9. Mediator
  10. Iterator

Benefits for the Sponsor

As the course sponsor or HR you get:

  1. Analysis of the needs and my help to choose or design a great course during a phone call with the sponsor, HR, team leader or/and course delegates. On top of that, we ask delegates on the very first day what their needs are, to make even better usage of the course time.
  2. Course customisation to your needs.
  3. Guarantee that the course is conducted by a proper, experienced expert – I conduct all training and never send apprentices.
  4. Course evaluation as an electronic form at the end of the last course day. The evaluation results are sent to interested people (most of often they’re course sponsor and HR).
  5. Report with conclusions, recommendations and course evaluation results, as a phone call or/and email for the course sponsor and other interested parties.
  6. Simple and easy price policy – daily rate doesn’t depend on course topic, group size, course duration, trainer’s accommodation and transport costs or venue (although there is a discount for courses in Poland). All rates are all-inclusive, that is they include all costs (especially trainer’s accommodation and transport) with one exception of renting the training room. You can get VAT invoice. The rates don’t change until end of year which makes it easier for you to plan everything.
  7. Simple communication – you can contact me directly by phone or email and you know that I’m the only contact person. There are no training coordinators, assistants etc. You don’t have to guess who you need to contact. You don’t have to wait with your technical questions until a training coordinator makes an appointment with a trainer. You get answers to all your questions in one phone call.
  8. Easy buying procedure – one call or email is enough to get offer and to book a date. I don’t do overbooking. The course is confirmed once you send the Purchase Order.
  9. Friendly business partner – as a rule, I treat all my clients like friends. I don’t build walls, I’m not pretending to be a huge training company and I write in first person.

Clients very often decide to order other training (including dedicated courses) after observing positive results of this course.

Benefits for Delegates

Delegates will benefit because of:

  1. Seven hours course every day (including breaks)
  2. Consultations after every course day.
  3. Support after the course, via email and phone.
  4. Setup instruction before the course to save time at the beginning of the course. I’m happy to help you via email, phone or Skype, etc. in case of any questions or issues.
  5. Course materials consisting of code snippets, comments, exercises and solutions. The entire courseware is a single web page which make it very easy to lookup something there. Courseware is available online during and after the training. Delegates can download it to use it offline. Courseware can be updated during the course in real time, so that we can include comments or entire new sections suggested by delegates.
  6. Environment ready to use after the course – we don’t use virtual machines. Instead, we install everything on delegates machines, so that they can reuse the same setup after the course.


Below you can find some references.

Very inspiring training. I really appreciate the way Chris managed to walk us through the complex world of machine learning using Python. Good course materials updated real time. Highly recommend.

Krzysztof Gębal
Finance Director at DNB Bank Polska S.A.

Well prepared training and reasonably passed knowledge, thanks to which we develop better services.

Arkadiusz Baraniecki
Infrastructure Team Manager at

Chris recently taught a four day class on Machine Learning with Python four our team. The class was very good with the right balance of theory and practice. I cannot think of a better way to give a four day class about such an extensive topic.

Nicolas Leveroni
Head of Krakow Product Control Analytics at HSBC

You can read more references here.