Python - Basics

Formation inter-entreprise

À qui s'adresse la formation?

Tout public

Durée

3,00 jour(s)

Langues(s) de prestation

EN FR

Prochaine session

Prérequis

Before attending this course, students must know and master a structured programming language like C, C++, Java.

Objectifs

This new three days training module lets the trainees know about the potential of Python as a programming language. Open to people who already know about any structured language (like C, C++ or Java), this course teaches how de design Python scripts, perform data treatments and how to maintain a Python script collection.

Contenu

Module 1: Python Overview

  • Python History
  • Available IDE (s)

Module 2: Python object types

  • Numbers
  • Strings
  • Containers (Tuples, Lists, Dictionaries, Set)
  • Type properties

Module 3: Good practices

  • Writing rules, naming
  • Annotations
  • Doc strings
  • Comments
  • Structuring a Python file

Module  4: The instructions

  • Execution of a Python program, LGI rule
  • Sequential, conditional, loop programming
  • Definition and call of functions
  • Functions: definition / call / parameter management /returned values

Module 5: Error handling

  • Exceptions, mechanism of implementation
  • The traceback

Module 6: The standard Python library

  • The built-in functions, and those on the containers: map, filter, zip
  • The sys modules, os
  • The datetime, time modules

Module  7: Object-Oriented Programming

  • Classes
  • The object, instance of a class
  • The class and instance attributes
  • The structure of a Python object (functions dir, vars, the variable __dict__ functions getattr, setattr, delattr,  __slots__ interest )
  • Simple, multiple inheritance

Mode d'organisation

Classroom Courses

Ces formations pourraient vous intéresser

EN
Journée
Sur demande
Langages informatiques - Langage java
EN
Journée
Sur demande
Langages informatiques - Langage java
EN
Journée
Sur demande
Langages informatiques - Langage java