Learning to program with Python - the practical tutorial Language: German

Learning to program with Python - the practical tutorial

Web design, CMS & development 91 Videos · 8.2 h Video training · English Jan Brinkmann by Jan Brinkmann

Install Python and get started with trainer Jan Brinkmann: Learn programming with Python in theory and practice! In the tutorial, you'll dive into variables and data types, pass by lists, strings and loops, and emerge at the end with knowledge of objects and functions from the Python tutorial. Clear, structured, comprehensible and easy to follow - 8 hours, including exercises!

  • Python programming tutorial with 91 lessons in over eight hours of video training
  • Get to know all the important basics - from using variables to accessing databases
  • Includes exercises to try out and corresponding solution suggestions for self-testing
  • Topics include: Reading files, processing CSV and XML data, objects, code analysis, troubleshooting
  • From professional developer Jan Brinkmann, who shares his knowledge and enthusiasm for Python with you

The Python way of programming: Use the tutorial to create your own program lines! Learn Python now to get started right away!

content

91 Videos, 493 minutes

First steps with Python

7 Videos · 32 minutes
01 Open free of charge

Programming with Python - 1.1 Welcome

Welcome to the course! Find out what awaits you.

02 Open

Programming with Python - 1.2 Using Python under Windows

In just a few steps, your Python development environment is ready. Here: Installation under Windows.

03 Open

Programming with Python - 1.3 Using Python on macOS

In just a few steps, your Python development environment is ready. Here: Installation under macOS.

04 Open

Programming with Python - 1.4 Python on the command line

Run Python on the command line and get to know and use the interactive shell.

05 Open

Programming with Python - 1.5 Working with PyCharm

PyCharm is a great development environment. Here you will learn how to use it and understand its most important features.

06 Open

Programming with Python - 1.6 It's all about spaces

Python uses spaces to identify blocks of code. Here you will learn to understand this concept (and what not to do).

07 Open

Programming with Python - 1.7 Challenge

A first task where you get to know Python guidelines.

02
Programming with Python - 1.2 Using Python under Windows
7 min Open
03
Programming with Python - 1.3 Using Python on macOS
5 min Open
04
Programming with Python - 1.4 Python on the command line
5 min Open
05
Programming with Python - 1.5 Working with PyCharm
6 min Open
06
Programming with Python - 1.6 It's all about spaces
5 min Open
07
Programming with Python - 1.7 Challenge
2 min Open

Python basics

8 Videos · 56 minutes
08 Open

Programming with Python - 2.1 Variables in Python

Variables - an important basis of every programming language. Here you will learn how to use them in Python.

09 Open

Programming with Python - 2.2 Numerical data types

Even if Python manages them itself: Data types are an important aspect. In this lesson, you will learn about numerical data types.

10 Open

Programming with Python - 2.3 Type conversion

Mixing several data types? Then you have to work with type conversion. Get to know them here.

11 Open

Programming with Python - 2.4 Numerical operators

The basic arithmetic operations are the smallest challenge. However, Python offers other operations in addition to addition and co. Get to know the important basic operations here.

12 Open

Programming with Python - 2.5 Using strings

Strings are a huge relief in modern languages. Understand how they work in Python.

13 Open

Programming with Python - 2.6 Using string functions

Python offers several methods for processing strings. Get to know some of them here.

14 Open

Programming with Python - 2.7 Using comments

Comments are an important part of good code. In this video you will learn about the important types.

15 Open

Programming with Python - 2.8 Using formatted strings

Learn how to work with formatted strings in Python.

08
Programming with Python - 2.1 Variables in Python
9 min Open
09
Programming with Python - 2.2 Numerical data types
6 min Open
10
Programming with Python - 2.3 Type conversion
6 min Open
11
Programming with Python - 2.4 Numerical operators
7 min Open
12
Programming with Python - 2.5 Using strings
7 min Open
13
Programming with Python - 2.6 Using string functions
9 min Open
14
Programming with Python - 2.7 Using comments
3 min Open
15
Programming with Python - 2.8 Using formatted strings
9 min Open

Using data collections

4 Videos · 32 minutes
16 Open

Programming with Python - 3.1 Lists

In other languages, lists are also referred to as arrays. An important way to collect data. Get to know them here.

17 Open

Programming with Python - 3.2 Tuples

Get to know and use tuples.

18 Open

Programming with Python - 3.3 Dictionaries

Associative data are under Python Dictionaries. You can also get to know this type here.

19 Open

Programming with Python - 3.4 Sets

Sets represent the mathematical quantity. Find out how to work with them.

16
Programming with Python - 3.1 Lists
12 min Open
17
Programming with Python - 3.2 Tuples
6 min Open
18
Programming with Python - 3.3 Dictionaries
7 min Open
19
Programming with Python - 3.4 Sets
7 min Open

Control over the process

6 Videos · 34 minutes
20 Open

Programming with Python - 4.1 Conditions with if

Without conditions, programming languages would be very static. Discover here how you can make your code dynamic with Python.

21 Open

Programming with Python - 4.2 Performing comparisons

Directly related to conditions are the possible comparisons. Get to know some of Python's basic possibilities here too.

22 Open

Programming with Python - 4.3 Is this really true?

What is actually considered "true" in Python? Find out here.

23 Open

Programming with Python - 4.4 Excursus: Inputs on the command line

In the other examples, entered data is a recurring theme. Here you will learn how Python provides them.

24 Open

Programming with Python - 4.5 Repetition with while loops

Loops are also a central aspect of modern programming. Here you will get to know the variant with the keyword "while".

25 Open

Programming with Python - 4.6 Using for loops

There are different loop constructs. Here you will get to know the variant with the keyword "for".

20
Programming with Python - 4.1 Conditions with if
7 min Open
21
Programming with Python - 4.2 Performing comparisons
10 min Open
22
Programming with Python - 4.3 Is this really true?
4 min Open
23
Programming with Python - 4.4 Excursus: Inputs on the command line
1 min Open
24
Programming with Python - 4.5 Repetition with while loops
9 min Open
25
Programming with Python - 4.6 Using for loops
3 min Open

Insert: Praxisprojekt

2 Videos · 4 minutes
26 Open

Programming with Python - 5.1 Task: Read in values and calculate average

A practical project to deepen the previous topics.

27 Open

Programming with Python - 5.2 A possible solution

Here you will find a solution for self-checking.

26
Programming with Python - 5.1 Task: Read in values and calculate average
2 min Open
27
Programming with Python - 5.2 A possible solution
2 min Open

Comprehensions

3 Videos · 17 minutes
28 Open

Programming with Python - 6.1 List Comprehensions

Creating or initializing lists? This is often easier with comprehensions. Get to know them here.

29 Open

Programming with Python - 6.2 Dictionary Comprehensions

Comprehensions are also available for dictionaries. You can get to know them here.

30 Open

Programming with Python - 6.3 Set Comprehensions

Sets can also be initialized via comprehensions. Learn how this works here.

28
Programming with Python - 6.1 List Comprehensions
10 min Open
29
Programming with Python - 6.2 Dictionary Comprehensions
5 min Open
30
Programming with Python - 6.3 Set Comprehensions
2 min Open

Functions and generators

10 Videos · 60 minutes
31 Open

Programming with Python - 7.1 Functions with parameters and return values

Functions enable reusable code and the separation of tasks. Learn the basics here.

32 Open

Programming with Python - 7.2 Parameters in detail

Learn more details about parameters.

33 Open

Programming with Python - 7.3 The special value None

The special value "None" plays an important role in Python. It stands for "no value".

34 Open

Programming with Python - 7.4 Docstrings

You can document your code optimally with Docstrings. Find out how here.

35 Open

Programming with Python - 7.5 Functions as data types

Functions can also be used as data types. Sounds abstract, but it is very easy to understand. You can find the details in this lesson.

36 Open

Programming with Python - 7.6 Inner functions and closures

Functions can do even more. The closures, for example, which you will learn about here, are also important.

37 Open

Programming with Python - 7.7 Lambda functions

Have you ever heard of lambda functions? Get to know them here.

38 Open

Programming with Python - 7.8 Generators

Find out here how you can use generators.

39 Open

Programming with Python - 7.9 Decorators

Decorators are a great concept in Python. Find out what they are used for and how to use them.

40 Open

Programming with Python - 7.10 Validity scopes and namespaces

The areas of validity are also important. Find out exactly what they are here.

31
Programming with Python - 7.1 Functions with parameters and return values
6 min Open
32
Programming with Python - 7.2 Parameters in detail
9 min Open
33
Programming with Python - 7.3 The special value None
3 min Open
34
Programming with Python - 7.4 Docstrings
3 min Open
35
Programming with Python - 7.5 Functions as data types
3 min Open
36
Programming with Python - 7.6 Inner functions and closures
8 min Open
37
Programming with Python - 7.7 Lambda functions
4 min Open
38
Programming with Python - 7.8 Generators
7 min Open
39
Programming with Python - 7.9 Decorators
10 min Open
40
Programming with Python - 7.10 Validity scopes and namespaces
7 min Open

Modules and packages

7 Videos · 27 minutes
41 Open

Programming with Python - 8.1 Individual Python scripts & parameters

How are Python projects structured? Get to know the individual scripts in this lesson.

42 Open

Programming with Python - 8.2 Using and importing modules

Modules play an important role. In this video you will learn the important basics.

43 Open

Programming with Python - 8.3 The search path for modules

Modules are imported. Where does Python look for them? Find out here.

44 Open

Programming with Python - 8.4 Packages: Grouping modules

The next level in the organization is packages. This is where you learn how to use them.

45 Open

Programming with Python - 8.5 Batteries included: the Python Standard Library

Python is proud of its standard library. Here you will learn about the concept of "batteries included".

46 Open

Programming with Python - 8.6 Distributing your own packages

You can even create and distribute your own packages. Find out how to do this here.

47 Open

Programming with Python - 8.7 The Python Package Index

Use packages from other developers? The "Python Package Index" is your friend. Get to know it here.

41
Programming with Python - 8.1 Individual Python scripts & parameters
5 min Open
42
Programming with Python - 8.2 Using and importing modules
4 min Open
43
Programming with Python - 8.3 The search path for modules
2 min Open
44
Programming with Python - 8.4 Packages: Grouping modules
5 min Open
45
Programming with Python - 8.5 Batteries included: the Python Standard Library
2 min Open
46
Programming with Python - 8.6 Distributing your own packages
6 min Open
47
Programming with Python - 8.7 The Python Package Index
3 min Open

Error handling with exceptions

4 Videos · 15 minutes
48 Open

Programming with Python - 9.1 What to do if there's a fire?

Errors are displayed in Python via exceptions. What is that? How do you deal with them? Find out here.

49 Open

Programming with Python - 9.2 Errors are displayed as exceptions

Process errors as exceptions in the code.

50 Open

Programming with Python - 9.3 Special handling of individual exceptions

Are there several exceptions in the same code area? Find out how you react to individual ones in particular.

51 Open

Programming with Python - 9.4 Creating your own exceptions

You can also define your own exceptions to give your code even more meaning. Find out how to do this.

48
Programming with Python - 9.1 What to do if there's a fire?
3 min Open
49
Programming with Python - 9.2 Errors are displayed as exceptions
3 min Open
50
Programming with Python - 9.3 Special handling of individual exceptions
4 min Open
51
Programming with Python - 9.4 Creating your own exceptions
5 min Open

Insertion: Project on the command line

2 Videos · 7 minutes
52 Open

Programming with Python - 10.1 Computer on the command line

The next project is now implemented on the command line.

53 Open

Programming with Python - 10.2 A possible solution

Find a possible solution to the task from the last lesson.

52
Programming with Python - 10.1 Computer on the command line
3 min Open
53
Programming with Python - 10.2 A possible solution
4 min Open

Objects and classes

10 Videos · 54 minutes
54 Open

Programming with Python - 11.1 What are objects?

Object orientation - what does it basically mean? Find out in this video.

55 Open

Programming with Python - 11.2 Defining your own classes

Classes are the basis of objects. Find out how they are defined in Python.

56 Open

Programming with Python - 11.3 Using inheritance

Inheritance is an important pillar of object orientation. Here you will learn the basics.

57 Open

Programming with Python - 11.4 Overwriting methods

In inheritance, methods from the parent classes can be overwritten. Find out how Python implements this.

58 Open

Programming with Python - 11.5 The keyword "super"

The reference to the superordinate class works via the keyword "super". Find out how this works and why it makes sense.

59 Open

Programming with Python - 11.6 The self-reference

The reference to the current object is of central importance. Discover what lies behind it.

60 Open

Programming with Python - 11.7 Getter and Setter and Python?

Are there classic getters and setters in Python? This lesson contains the answer.

61 Open

Programming with Python - 11.8 Classes and static methods

Static methods can be a relief. You should definitely be familiar with this stylistic device.

62 Open

Programming with Python - 11.9 Magic methods

Python comes with some magical methods. Sounds magical? But it can be explained quite logically. Watch this video for details.

63 Open

Programming with Python - 11.10 Using type hints

Type hints help with readability and autocompletion. Get to know the concept using an example.

54
Programming with Python - 11.1 What are objects?
5 min Open
55
Programming with Python - 11.2 Defining your own classes
7 min Open
57
Programming with Python - 11.4 Overwriting methods
3 min Open
58
Programming with Python - 11.5 The keyword "super"
4 min Open
59
Programming with Python - 11.6 The self-reference
5 min Open
60
Programming with Python - 11.7 Getter and Setter and Python?
10 min Open
61
Programming with Python - 11.8 Classes and static methods
6 min Open
62
Programming with Python - 11.9 Magic methods
8 min Open
63
Programming with Python - 11.10 Using type hints
3 min Open

Handling files

6 Videos · 37 minutes
64 Open

Programming with Python - 12.1 Writing to files

Store data in files? Extremely practical. Find out how Python can help you.

65 Open

Programming with Python - 12.2 Reading from files

The other way round: reading data again. Find out how you can read from files in Python.

66 Open

Programming with Python - 12.3 Working with binary data

There is not only the representation as text. Binary data can also be written. Find out how this works.

67 Open

Programming with Python - 12.4 Processing CSV files

CSV files transport important information in many environments. Learn how to use the concept for yourself.

68 Open

Programming with Python - 12.5 Working with the XML format

XML plays an important role on the web. Learn how to use it in Python.

69 Open

Programming with Python - 12.6 Import/Export as JSON

JSON is also an enormously important format on the web. Discover Python on-board tools for processing.

64
Programming with Python - 12.1 Writing to files
5 min Open
65
Programming with Python - 12.2 Reading from files
6 min Open
66
Programming with Python - 12.3 Working with binary data
6 min Open
67
Programming with Python - 12.4 Processing CSV files
9 min Open
68
Programming with Python - 12.5 Working with the XML format
7 min Open
69
Programming with Python - 12.6 Import/Export as JSON
4 min Open

Unit-Testing

5 Videos · 33 minutes
70 Open

Programming with Python - 13.1 Your first unit test

Test your code automatically? Again and again? Welcome to the world of unit tests!

71 Open

Programming with Python - 13.2 Best Practices for Unit Tests

Get to know some best practices for unit tests.

72 Open

Programming with Python - 13.3 Using assertions

Use assertions to create tests.

73 Open

Programming with Python - 13.4 Preparing test cases with setUp and tearDown

Preparing tests or cleaning up after the test? No problem with setUp and tearDown.

74 Open

Programming with Python - 13.5 Using mockups

Replace individual parts in the code or gain control over the return value? You can use mockups for this.

70
Programming with Python - 13.1 Your first unit test
11 min Open
71
Programming with Python - 13.2 Best Practices for Unit Tests
7 min Open
72
Programming with Python - 13.3 Using assertions
8 min Open
73
Programming with Python - 13.4 Preparing test cases with setUp and tearDown
2 min Open
74
Programming with Python - 13.5 Using mockups
5 min Open

Web accesses

4 Videos · 25 minutes
75 Open

Programming with Python - 14.1 Creating HTTP requests

Downloading data in Python? Work with the web? Learn how it can work here.

76 Open

Programming with Python - 14.2 Insertion: SSL error under macOS?

Important information for macOS users - especially with regard to HTTPS URLs.

77 Open

Programming with Python - 14.3 Downloading content as an HTTP client

Download content such as JSON data? Find out how here.

78 Open

Programming with Python - 14.4 Processing JSON and using data

Now the downloaded data is actually processed.

75
Programming with Python - 14.1 Creating HTTP requests
9 min Open
76
Programming with Python - 14.2 Insertion: SSL error under macOS?
9 min Open
77
Programming with Python - 14.3 Downloading content as an HTTP client
1 min Open
78
Programming with Python - 14.4 Processing JSON and using data
6 min Open

Access databases

11 Videos · 54 minutes
79 Open

Programming with Python - 15.1 Installing MySQL on Windows

MySQL is a popular database. Find out how to install it on Windows.

80 Open

Programming with Python - 15.2 Installing MySQL on macOS

Similar to the setup under Windows, here is a setup for macOS.

81 Open

Programming with Python - 15.3 Introduction to SQL databases

SQL databases essentially work using the same language: SQL. Here you will find some basics.

82 Open

Programming with Python - 15.4 Creating a sample database and creating users

Create your first database and lay the foundation for the examples to come.

83 Open

Programming with Python - 15.5 Basic functionality: Create, Read, Update and Delete (CRUD)

The basic functions of every database: the CRUD commands. Get to know them in the SQL context.

84 Open

Programming with Python - 15.6 MySQL connection with Python

Establish a connection to the MySQL database with Python.

85 Open

Programming with Python - 15.7 SELECT: read all data records

Retrieve records from MySQL, your first SELECT statement.

86 Open

Programming with Python - 15.8 INSERT: Inserting data

Inserting new data - also no problem with INSERT statements.

87 Open

Programming with Python - 15.9 DELETE: Remove entries

Entries are now also removed again.

88 Open

Programming with Python - 15.10 Retrieving single lines

Retrieve individual rows from MySQL, also using a SELECT statement.

89 Open

Programming with Python - 15.11 Updating existing data

Learn how to update data with UPDATE statements.

79
Programming with Python - 15.1 Installing MySQL on Windows
4 min Open
80
Programming with Python - 15.2 Installing MySQL on macOS
4 min Open
81
Programming with Python - 15.3 Introduction to SQL databases
6 min Open
82
Programming with Python - 15.4 Creating a sample database and creating users
8 min Open
83
Programming with Python - 15.5 Basic functionality: Create, Read, Update and Delete (CRUD)
9 min Open
84
Programming with Python - 15.6 MySQL connection with Python
7 min Open
85
Programming with Python - 15.7 SELECT: read all data records
3 min Open
86
Programming with Python - 15.8 INSERT: Inserting data
4 min Open
87
Programming with Python - 15.9 DELETE: Remove entries
3 min Open
88
Programming with Python - 15.10 Retrieving single lines
2 min Open
89
Programming with Python - 15.11 Updating existing data
4 min Open

Practical project: book management on command line

2 Videos · 8 minutes
90 Open

Programming with Python - 16.1 The task: Book management

Another project to apply previous knowledge once again.

91 Open

Programming with Python - 16.2 My solution for book management

A possible solution for the project from the previous lesson.

90
Programming with Python - 16.1 The task: Book management
3 min Open
91
Programming with Python - 16.2 My solution for book management
5 min Open
Comments (2)

Comment now „Learning to program with Python - the practical tutorial“