Python - Advanced

Inter-company training

Who is the training for?

All public

Duration

3,00 day(s)

Language(s) of service

EN FR

Prerequisites

Before attending this course, students must know and master all the concepts listed in the " Python-Basic module"

Goals

This new three days training module digs deeper into the Python programming language. It teaches how to efficiently choose the appropriate Python tools, how to optimize the scripts and save time in their design / maintenance, how to write OS/independent scripts.

Contents

Module 1: Python Object Types

  • Basic Types, Containers
  • Type Properties

Module 2: Reminder on good practices

  • Writing rules, naming
  • Annotations
  • Doc strings
  • Comments

Module 3: Advanced instructions

  • Lists of understandings
  • Iterators and generators
  • Coroutines ( yield / send )
  • Context managers
  • Decorators ( by function / by class )
  • Itertools libraries, functools

Module 4: Exploring and Installing Python Libraries

  • Internal Library
  • External Library
  • Installation and Management of Libraries
  • Study of Some Examples:  sqlite, csv / argparse, begin / faker

Module 5: Object-oriented programming

  • Classes, objects
  • Variables and methods of an object
  • Magic methods
  • Static variables and methods
  • Single and multiple inheritance, the MRO

Module 6: Advanced Programming

  • Unit Testing
  • Quality Analysis
  • Python Script Profiling
  • Mutithreading / Multiprocessing
  • C Language Interface with CFFI

Mode of organisation

Classroom Courses

These courses might interest you