From a blank screen to your own program - enter the world of strings, operators, classes and methods so that your code leads to the right result line by line.
In this video you will get a short introduction to the contents of this course.
Here we show you what you need to bear in mind when implementing the course in order to use it as successfully as possible.
The necessary software is installed here.
The various development environments are discussed and it is shown which ones we will use.
In this part of the course, we will look at how numbers and variables work in Python.
In this part of the Python course, we will look at mathematical operators in Python. We have already seen the first simple calculations in the last part. Now we will look at some more examples.
In this part of the course, we will look at strings in Python.
In this part of the course, we will look at strings in Python.
More information on formatting strings.
In this article, we will look at lists in Python.
In this article, we take a look at sets. These are data types.
In this tutorial, we will look at another data type: a tuple.
In this article, we will discuss dictionaries. This is a data type that allows us to "map", i.e. to assign two values in a similar way to lists.
In this article, we will look at booleans and logical operators in Python.
In this article, you will learn one of the most important concepts in programming - the If statement.
In this article, we will look at for loops in Python. This is called "For Loop" and it is a powerful way to save a lot of repetitive work.
Now that we've seen for loops, it's time to learn about while loops in Python. While loops (or "while loops") are the easiest way to repeat something multiple times. They are loops because the code is run over and over again until the condition is met.
While loops: Challenge - highest common denominator.
This article is about the range() function in Python. This is quite useful if you want to create a series of numbers or even a list. It saves you an enormous amount of work if you want to work with for loops. Incidentally, range comes from English and means range.
In this lesson, we will look at exception handling in Python. To do this, we will look at the terms Try, Except, Else and Finally.
In this article, we will look at functions in Python. This is a component that is extremely important. Functions allow us to prepare a specific code and then call it at any time.
In the last article we learned about simple functions, in this one we will look at functions with parameters in Python.
Until now, we have never asked the user of our program to enter anything. This is exactly what we are changing in this article.
So far, we have almost exclusively written our code ourselves, but now we are learning about the modules and packages in Python. These allow us to use code that we don't have to write ourselves. This saves us a huge amount of time and allows us to use functions that enable us to implement complex tasks using fewer lines of code.
In the last article, we saw how we can import modules into Python. Now it's time to see how we can create our own modules.
The random module allows us to obtain a random number. This allows us to control many events randomly.
In this exercise we program the game Black Jack.
In this video, the solution to the exercise for the game of blackjack is worked out.
In this article, you will learn how to open and read files in Python.
In this article, you will learn how to write to a file using Python.
The term "regular expression" comes from the theory of automata and the theory of formal languages, two areas of theoretical computer science.
In this article, we will take a further look at regex. We will look at the re.findall and split functions.
In this article, you will learn the basics of object-oriented programming in Python (OOP).
In this article, you will learn how classes are structured in Python and what they do. In the last article, you saw what objects are and how objects basically work. Now you will learn how classes are related to objects.
In this article, you will learn about the methods in Python. These are actions that our class can perform. We have already seen how attributes work. Now let's take a look at the methods and see how we can finally get our car to drive ;)
This article is about the concept of inheritance in Python. In programming, this concept makes it possible to create classes that inherit from other classes - and therefore inherit all their attributes and methods.
In this article, you will learn about and understand the lambda operator in Python. Lambda is a concept that many beginners find very difficult. That's why I'm breaking down the individual steps slowly so that it's easy to understand.
In this article, you will learn about the Filter function in Python.
In this article, you will learn how the zip function works. This is useful, for example, to combine two lists into one list consisting of tuples, or to merge dictionaries content and return tuples.
In this article, you will learn about the map function in Python. The map function takes a function as the first argument and a sequence (e.g. list) as the second. The map function then applies the function to all elements of the sequence and then writes the results to a list.
In this article, you will learn about the enumerate function. This is a function that allows us to run through a sequence.
In this exercise we determine the prime numbers we are looking for.
In this article, you will learn how the all() and any() methods work in Python.
This video deals with functions with a previously undefined set of arguments.
This article is about decorators in Python, how they work and what they do.
We have already discussed numbers in a previous part of the course. In this article, we will get to know even more methods that are helpful in connection with numbers.
In this article you will learn different methods of strings in Python.
In this article, you will get to know some of the list methods. We have already seen some of them, but let's take another look at the most important ones in connection with lists.
Here we create a small program that processes a queue.
This article is about sets and their methods in Python.
We have already seen most of the information on dictionaries in previous articles. However, here we expand the list of methods a little.
In this article, you will learn how to use time with Datetime in Python. Datetime is a module that displays and saves the time.
In this article, you will learn about and understand the namedTuple in Python.
In this article, I'll show you how OrderedDict works in Python and what it's good for. You have already seen how dictionaries work. The fact is that dictionaries are not interested in whether they are ordered or not - or rather, they don't care in which order they are filled. "Ordered dictionaries, on the other hand, pay attention to what was inserted and when.
In this part of the Python course, you will learn about DefaultDict in Python. We have already seen default dictionaries and realized that a dictionary consists of two important components: a key and a value. However, if we want a dictionary to be assigned a specific default value when we don't explicitly assign one to it, we can do this using DefaultDict.
This article is about counters in Python. A counter is a container that keeps track of how often the same value is added. It can be used to implement the same algorithms as bag or multiset data structures in other programming languages.
The Python debugger allows us to debug our code, i.e. to find errors more easily than with a print statement, for example.
In this article, we will take a look at how to use a GUI (Graphical User Interface) in Python. There are several ways to do this in Python, but we will work with tkinter.
In this article, you will learn how to arrange the layout with tkinter in Python. To do this, we will take the code from the last article and extend it a little.
In this article, you will learn how to use buttons in Python. You will see how to create them in a GUI and assign a function to them.
In this article, you will learn how input fields work with Entry. To do this, we will see how we can customize our GUI (user interface) so that the user can enter their name and age.
In this rather short article you will learn how to add images to the GUI (user interface) in Python.
In this article, you will learn what the "Grid Geometry Manager" is all about and how you can use it to cleanly design your user interface. It is a tool that allows us to arrange our widgets (elements) in a two-dimensional table. To do this, everything is divided into rows and columns.
As soon as you develop a more extensive program, you may need a menu bar at some point. You are probably familiar with this from most programs you have worked with so far. Now it's time to see how you can create and use such a menu bar in Python yourself. To do this, we will first create the menu itself.
In this article, you will learn how to work with the canvas in the GUI. To do this, we will create a small program in which a circle is displayed on the canvas. Canvas comes from the English language and can be translated as "canvas". In other words, you draw something on the canvas.
In this exercise, we extend the code from the last video and perform random operations.
Comment now „Programming with Python - the beginners' course“