Applications with Python
System Programming with Python

Python has various modules to support system focused programming.
The sys module is introduced in the first chapter. A focal point are the data streams (stdin, stdout, stderr) and redirections of streams.
The interaction between is the focus in the following chapter of our course.
The interaction between Python and the Linux Shell is another topic of our advanced section. This chapter is followed by Forks and Forking.
You can learn more about threads and threading in our Introduction into Threads. We show how to find the active IP addresses in a local network by using forks.
The chapter, which is subtitled as "Pipe, Pipes and '99 Bottles of Beer'" might be interesting to teetotallers as well, because it's not about alcohol but dealing with alcohol, even though the "99 bottles of beer" in the title give the impression. Instead, we show you how to write a program which is construing the famous American song "99 bottles of beer" by using forked processes and Pipes. So, if you need a good example of pipes and forks working together you will find it here.
Graph Theory
We have three chapters dealing with Graphs.- A general introduction into the Graph theory and the corresponding Python code can be found in "Graphs in Python" You will also here the implementations of a graph class with essential functionalities for graph creation, manipulation and calculations.
- Introduction into the module pygraph
- Introduction into the module NetworkX
Mathematics
- In our chapter on Polynomials we demonstrate how easily and beautifully a class for the creation and manipulation of polynomial functions can be written in Python.
Computer Science and Computer Linguistics
Finite State Machines are not only used in computer science but in natural language processing as well. We cover the concept of the Finite State Machine in great detail, so that even an amateur in Computer Science can understand the examples. At least we hope so.Alan Turing's Turing Machines and above all the underlying theory is a must for every computer scientist. We show a simple implementation of a Turing Machine.
If you are interested in Classifying documents, the Introduction into Text Classification using Naive Bayes and our Python Implementation of Text Classification will be the right chapters for you.
Music
It's also possible to create scores with Python: You can find a complete working example in Creating Musical Scores With PythonIf you feel that the above topics are too complicated or sophisticated for you, you might like our course for beginners in Python. You find a documented link list in the following lines:
Databases with Python
An introduction into using database interfaces in Python for SQL, MySQL and SQLite"Games"
What you find are not real games! We show a recursive solution to Towers of Hanoi and a game Cows and Bulls better known in a commercial version called "Mastermind".Online Course
Further Topics
News
Our Next Training Courses
Our next open Python classes with Bernd Klein, the author of this website:
Due to the corona pandemic, we are currently running all courses online. Further Information!
Amsterdam:
Python Course for Data Analysis and Machine Learning
22 - 26 Feb 21 3 - 7 May 21
Python Course for Beginners
25 - 29 Jan 21 22 - 26 Mar 21 19 - 23 Apr 21 7 - 11 Jun 21
Python Intensive Course
17 - 19 Feb 21 24 - 26 Mar 21 19 - 21 May 21 23 - 25 Jun 21
Python Seminar for Engineers and Scientists
18 - 20 Jan 21 24 - 26 Mar 21 19 - 21 May 21
Python Text Processing and Computer Linguistics Course
21 - 25 Jun 21
Cologne:
Python Course for Data Analysis and Machine Learning
22 - 26 Feb 21 3 - 7 May 21
Python Course for Beginners
25 - 29 Jan 21 22 - 26 Mar 21 19 - 23 Apr 21 7 - 11 Jun 21
Python Intensive Course
17 - 19 Feb 21 24 - 26 Mar 21 19 - 21 May 21 23 - 25 Jun 21
Python Seminar for Engineers and Scientists
18 - 20 Jan 21 24 - 26 Mar 21 19 - 21 May 21
Python Text Processing and Computer Linguistics Course
21 - 25 Jun 21
Frankfurt:
Python Course for Data Analysis and Machine Learning
22 - 26 Feb 21 3 - 7 May 21
Python Course for Beginners
25 - 29 Jan 21 22 - 26 Mar 21 19 - 23 Apr 21 7 - 11 Jun 21
Python Intensive Course
17 - 19 Feb 21 24 - 26 Mar 21 19 - 21 May 21 23 - 25 Jun 21
Python Seminar for Engineers and Scientists
18 - 20 Jan 21 24 - 26 Mar 21 19 - 21 May 21
Python Text Processing and Computer Linguistics Course
21 - 25 Jun 21
Hamburg:
Python Course for Data Analysis and Machine Learning
22 - 26 Feb 21 3 - 7 May 21
Python Course for Beginners
25 - 29 Jan 21 22 - 26 Mar 21 19 - 23 Apr 21 7 - 11 Jun 21
Python Intensive Course
17 - 19 Feb 21 24 - 26 Mar 21 19 - 21 May 21 23 - 25 Jun 21
Python Seminar for Engineers and Scientists
18 - 20 Jan 21 24 - 26 Mar 21 19 - 21 May 21
Python Text Processing and Computer Linguistics Course
21 - 25 Jun 21
Online-Schulungen:
Python Course for Data Analysis and Machine Learning
22 - 26 Feb 21 3 - 7 May 21
Python Course for Beginners
25 - 29 Jan 21 22 - 26 Mar 21 19 - 23 Apr 21 7 - 11 Jun 21
Python Intensive Course
17 - 19 Feb 21 24 - 26 Mar 21 19 - 21 May 21 23 - 25 Jun 21
Python Seminar for Engineers and Scientists
18 - 20 Jan 21 24 - 26 Mar 21 19 - 21 May 21
Python Text Processing and Computer Linguistics Course
21 - 25 Jun 21
ParisBerlin, Munich:
Python Course for Data Analysis and Machine Learning
22 - 26 Feb 21 3 - 7 May 21
Python Course for Beginners
25 - 29 Jan 21 22 - 26 Mar 21 19 - 23 Apr 21 7 - 11 Jun 21
Python Intensive Course
17 - 19 Feb 21 24 - 26 Mar 21 19 - 21 May 21 23 - 25 Jun 21
Python Seminar for Engineers and Scientists
18 - 20 Jan 21 24 - 26 Mar 21 19 - 21 May 21
Python Text Processing and Computer Linguistics Course
21 - 25 Jun 21
Vienna, Salzburg or Linz:
Python Course for Data Analysis and Machine Learning
22 - 26 Feb 21 3 - 7 May 21
Python Course for Beginners
25 - 29 Jan 21 22 - 26 Mar 21 19 - 23 Apr 21 7 - 11 Jun 21
Python Intensive Course
17 - 19 Feb 21 24 - 26 Mar 21 19 - 21 May 21 23 - 25 Jun 21
Python Seminar for Engineers and Scientists
18 - 20 Jan 21 24 - 26 Mar 21 19 - 21 May 21
Python Text Processing and Computer Linguistics Course
21 - 25 Jun 21
Zürich, Schaffhausen, Bern, St. Gallen:
Python Course for Data Analysis and Machine Learning
22 - 26 Feb 21 3 - 7 May 21
Python Course for Beginners
25 - 29 Jan 21 22 - 26 Mar 21 19 - 23 Apr 21 7 - 11 Jun 21
Python Intensive Course
17 - 19 Feb 21 24 - 26 Mar 21 19 - 21 May 21 23 - 25 Jun 21
Python Seminar for Engineers and Scientists
18 - 20 Jan 21 24 - 26 Mar 21 19 - 21 May 21
Python Text Processing and Computer Linguistics Course
21 - 25 Jun 21
A Course is not a Course
The question is ambiguous. First we want to explain, why this website is called
"A Python Course". This website is seen all over the world
and the expression "course" has varying meanings in the English speaking world.
Both in the United States and Canada, a course is a teaching unit, which might last
e.g. one academic term. The students normally get a grade or some academic credit
for attending the course, usually after having passed an exam.
In the United Kingdom and Australia the term "course" usually defines the complete
programme of studies required to complete a major or a study path leading to a
university degree. The word "unit" is used in the UK to refer to an
academic course in the North American sense.
On the one hand, we had the US and Canadian sense in mind: Our Python is one teaching
unit and when you have successfully passed it, you are capable of programming
in Python. On the other hand, we had the original meaning of the word in mind:
A "course of instruction" as it might be used in book titles like "A Course in
Programming Python".