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
  • on request
Classroom Training

Duration
2 days

Price
  • on request

Schedule

English

1 hour difference

Online Training Time zone: Central European Time (CET) Course language: English
Online Training Time zone: Central European Summer Time (CEST) Course language: English
Online Training Time zone: Central European Summer Time (CEST) Course language: English
Online Training Time zone: Central European Summer Time (CEST) Course language: English
Online Training Time zone: Central European Time (CET) 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.
Instructor-led Online Training:   This computer icon in the schedule indicates that this date/time will be conducted as Instructor-Led Online Training. If you have any questions about our online courses, feel free to contact us via phone or Email anytime.
This is a FLEX course, which is delivered both virtually and in the classroom. All FLEX courses are also Instructor-led Online Trainings (ILO).

Europe

Germany

Berlin Guaranteed date!
Hamburg
Berlin
Frankfurt
Berlin
Munich
Frankfurt
Hamburg
Munich
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.
This is a FLEX course, which is delivered both virtually and in the classroom. All FLEX courses are also Instructor-led Online Trainings (ILO).