Python Programming – Intermediate

23900 kr

This course gives you an introduction to more advanced concepts in the Python language and starts where the course ”Python Programming – Introduction” ends.

During the course we discuss and highlights the differences in between Python v2 and v3. Exercises are done using Python v3.

Open/Scheduled dates, remote:
14-16 april (FULLBOKAD), 12-14 maj

Beskrivning

Target Group

Programmers, testers and others involved in projects that will involve Python as a coding language.

Prerequisites

Basic understanding of the Python language and some experience of programming Python. Knowledge similar to the course ”Python Programming – Introduction”.

Course Overview

Day 1

Da­ta­ty­pes and the ob­ject hi­e­rar­chy

Fun­c­tions

  • The func-object
  • The def keywords
  • Lambda functions
  • Nested functions
  • Closures
  • Decorators

Ite­ra­tors

  • Fast enumeration
  • The iteration protocol
  • Iterables
  • Iterators
  • The iteration interface
  • Iterators as separate objects

Com­pre­hen­sions

  • List Comprehensions
  • Nested comrehensions
  • Dict Comprehensions
  • Set Comprehensions

 

Ad­van­ced ite­ra­tors

  • Generator Expressions
  • Generator Comprehensions
  • Generator functions
  • Generator objects
  • The Yield keyword
  • Generator iterators

Ob­jects, clas­ses and in­stan­ces

  • Old-style vs new-style classes
  • Magic special methods
  • Instance attributes
  • Class attributes
  • Attribute lookup chain
  • Emulate built-in objects
  • Creating callables
  • Creating containers
  • Rich comparison methods
  • @classmethod
  • @staticmethod
  • Abstract classes
  • @property
  • Static variable behavior
  • __slots__

Sor­ting & Re­versing

  • Sorting lists
  • Sorting dicts
  • Sorting instances
  • Sorting iterables
  • Operator methodcaller
  • Reversing strings
  • Reversing lists
  • Reversing iterables

 

Kursen levereras i samarbete med

Kontakta oss om denna kurs

Du kanske också gillar …

Denna sida använder cookies, läs mer på vår Integritetspolicy Avfärda