Python for Beginners 2 (PYFUN2)

 

Prerequisites

Python for Beginners 1 (PYFUN1) or equivalent knowledge

Course Content

1. Advanced Strings & Data Structures

  • String formatting: f-strings, .format(), %
  • String methods: split, join, replace, find, etc.
  • Nested structures: lists of dicts, dicts of lists
  • List, dict, and set comprehensions
  • Conditional expressions
  • Lambda functions with map, filter, reduce

2. File Handling

  • Opening and reading files (open, read, readlines)
  • Writing to files (write, writelines)
  • Using with open(...) and context managers
  • Handling encoding and file errors
  • Working with JSON: json.load(), json.dump()
  • Reading and writing CSV: csv.reader(), csv.DictWriter()
  • Real-world examples: config files, data export

3. Iterators & Generators and decorators

  • iter() and next()
  • Generator functions using yield
  • Generator expressions
  • Custom iterable objects
  • Functions as objects
  • Writing decorators
  • Use cases: logging, timing, access control

4. Object-Oriented Programming (OOP)

  • Classes and objects
  • Attributes and methods
  • Inheritance and polymorphism
  • Magic methods: __init__, __str__, etc.

5. Web Scraping

  • Using requests to fetch web pages
  • Parsing HTML with BeautifulSoup
  • Extracting and cleaning data
  • Handling errors and edge cases

6. Final Project

Prices & Delivery methods

Online Training

Duration
2 days

Price
  • CHF 1,490.—
Classroom Training

Duration
2 days

Price
  • Switzerland: CHF 1,490.—

Schedule

Guaranteed date:   We will carry out all guaranteed training regardless of the number of attendees, exempt from force majeure or other unexpected events, like e.g. accidents or illness of the trainer, which prevent the course from being conducted.
Instructor-led Online Training:   Course conducted online in a virtual classroom.
FLEX Classroom Training (hybrid course):   Course participation either on-site in the classroom or online from the workplace or from home.

English

European Time Zones

Online Training Course language: English
Online Training Course language: English
Online Training Course language: English
Online Training Course language: English
Online Training Course language: English
Guaranteed date:   We will carry out all guaranteed training regardless of the number of attendees, exempt from force majeure or other unexpected events, like e.g. accidents or illness of the trainer, which prevent the course from being conducted.
FLEX Classroom Training (hybrid course):   Course participation either on-site in the classroom or online from the workplace or from home.
International guaranteed dates
Berlin Time zone: Central European Time (CET)

Germany

Berlin Guaranteed date!
Hamburg
Berlin
Frankfurt
Berlin
Munich
Frankfurt
Hamburg
Munich

If you can't find a suitable date, don't forget to check our world-wide FLEX training schedule.