#Einführung in die CL-Programmierung mit Python (WS 20/21) ##Dozierende: Esther Seyffarth, Ben Burkhardt ![a picture of Esther Seyffarth](esther_small.jpg "Esther Seyffarth") ![a picture of Benjamin Burkhardt](ben_small.jpg "Benjamin Burkhardt") ## Tutor\_innen: Nele Mastracchio, Lara Reichling, Martin Zakrzewski ![a picture of Nele Mastracchio](nele_small.png "Nele Mastracchio") ![a picture of Lara Reichling](lara_small.jpg "Lara Reichling") ![a picture of Martin Zakrzewski](martin_small.png "Martin Zakrzewski") Dieser Kurs richtet sich an Erstsemester-Studierende im Bachelorstudiengang Computerlinguistik. Ziel des Kurses ist es, einen ersten Einblick in die Programmiersprache Python zu geben und grundlegende Fähigkeiten zur Nutzung und zum Lernen von Programmiertechniken zu vermitteln. Der Schwerpunkt liegt auf der automatischen Verarbeitung sprachlicher Daten. Wir treffen uns wöchentlich online für einen **Vorlesungsstream mit Gruppendiskussion** und zwei betreute **Übungssitzungen**. Die Teilnahme an den synchronen Sessions ist empfohlen, aber nicht verpflichtend. Ihr könnt jede Woche neu entscheiden, ob ihr an keiner, einer oder beiden Übungssitzungen teilnehmt. Sprecht das am besten immer mit eurer Gruppe ab, in der ihr die Übungsaufgaben bearbeitet! * Vorlesung: montags von 16:30 bis 18:00 Uhr * Übung 1: donnerstags, von 08:30 bis 10 Uhr * Übung 2: donnerstags, von 10:30 bis 12:00 Uhr **[Hier geht's zum Begrüßungsvideo (00:28)!](https://mediathek.hhu.de/watch/2d9de041-815e-490a-8e52-24b2f5aeb420)** Die Webseite des Python-Kurses aus dem WS 18/19 ist [hier](https://user.phil.hhu.de/~seyffarth/classes/python/python2018/) zu finden. Die Webseite des Python-Kurses aus dem WS 19/20 ist [hier](https://user.phil.hhu.de/~seyffarth/classes/python2019/) zu finden. ##
Plattformen
Rocketchat (Forum): https://rocketchat.hhu.de/channel/cl-programmierung-python-2020 Moodle (Übungsaufgaben): https://moodle.phil.hhu.de/course/view.php?id=506 WebEx (Live-Sessions): https://hhu.webex.com/hhu/j.php?MTID=m67c16cd3e327b581d077d31d8131d7cd Informationen zum Ablauf des Kurses sind in den [Unterlagen zu Themeneinheit 01-01](https://user.phil.hhu.de/~seyffarth/classes/python2020/01-01%20Wie%20laeuft%20der%20Kurs.html), "Wie läuft der Kurs?", zu finden. Wir hoffen, viele von euch in der ersten Live-Session am 02.11. in WebEx zu sehen! ##
Unterrichtsmaterialien
### KW 45, Live-Session: 02.11.2020 * 01-01: Wie läuft der Kurs? 👩🏻🏫 👨🏫 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/01-01%20Wie%20laeuft%20der%20Kurs.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/01-01%20Wie%20laeuft%20der%20Kurs.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/01-01%20Wie%20laeuft%20der%20Kurs.ipynb), [Video (18:08)](https://mediathek.hhu.de/watch/697e4d6a-84c1-4574-80d2-4865107d6e3d) * 01-02: Was ist Python? 🐍🐍🐍 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/01-02%20Was%20ist%20Python.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/01-02%20Was%20ist%20Python.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/01-02%20Was%20ist%20Python.ipynb), [Video (17:48)](https://mediathek.hhu.de/watch/175a2ca9-225a-4209-9c87-92ffe08bf499) #### Anleitungen: * [Python installieren (pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/anleitung_python_installieren.pdf) * [VSCode installieren (pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/anleitung_vs-code-installieren-und-nutzen.pdf) * [VSCode Liveshare verwenden (Video, 17:19)](https://mediathek.hhu.de/watch/e04b1f7c-c545-4aa9-89cc-f528eea384e0) * [Jupyter Notebooks verwenden (pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/anleitung_jupyter_installieren_notebooks.pdf) * [Aufgaben in Moodle lösen (pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/anleitung_moodle.pdf) ### KW 46, Live-Session: 9.11.2020 * 02-01: Variablen 📩 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-01%20Variablen.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-01%20Variablen.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-01%20Variablen.ipynb), [Video (19:33)](https://mediathek.hhu.de/watch/6e66389e-f2c9-48da-b183-e9d44827075b) * 02-02: Strings 💬 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-02%20Strings.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-02%20Strings.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-02%20Strings.ipynb), [Video (14:53)](https://mediathek.hhu.de/watch/4141fc57-7494-4758-bda1-1768ba519b37) * 02-03: Listen 📃 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-03%20Listen.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-03%20Listen.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-03%20Listen.ipynb), [Video (05:00)](https://mediathek.hhu.de/watch/558faeba-223b-4d31-9efa-220e762dac2b) * 02-04: Zahlendatentypen: Integers und Floats 💯 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-04%20Zahldatentypen.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-04%20Zahldatentypen.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-04%20Zahldatentypen.ipynb), [Video (12:58)](https://mediathek.hhu.de/watch/929fef5b-e3fc-48f0-95de-ef835172895e) * 02-05: Booleans (Wahrheitswerte) ✔️❌ [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-05%20Bool.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-05%20Bool.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/02-05%20Bool.ipynb), [Video (11:33)](https://mediathek.hhu.de/watch/5722caa9-3041-4c2b-be88-8ee8a9ebb509) ### KW 47, Live-Session: 16.11. * 03-01: Indexing und Slicing 🍰 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/03-01%20Indexing%20und%20Slicing.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/03-01%20Indexing%20und%20Slicing.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/03-01%20Indexing%20und%20Slicing.ipynb), [Video (09:12)](https://mediathek.hhu.de/watch/24303361-c6e7-421b-b294-663aca5c6a23) * 03-02: Bedingungen 👀 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/03-02%20Bedingungen.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/03-02%20Bedingungen.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/03-02%20Bedingungen.ipynb), [Video (10:58)](https://mediathek.hhu.de/watch/6ef6f3f8-0899-4053-acfb-b5716aa5a2cf) * 03-03: Schleifen 🔃 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/03-03%20Schleifen.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/03-03%20Schleifen.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/03-03%20Schleifen.ipynb), [Video (14:31)](https://mediathek.hhu.de/watch/11702af9-85a9-42f1-844b-72117eb5f6f9) * 03-04: Zufallszahlen 🔢 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/03-04%20Zufallszahlen.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/03-04%20Zufallszahlen.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/03-04%20Zufallszahlen.ipynb), [Video (06:48)](https://mediathek.hhu.de/watch/3c5b5db6-f1c3-4f6e-a14b-33de61628866) ### KW 48, Live-Session: 23.11. * 04-01: Dictionaries 📖 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/04-01%20Dictionaries.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/04-01%20Dictionaries.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/04-01%20Dictionaries.ipynb), [Video (18:08)](https://mediathek.hhu.de/watch/144585c8-04e2-45a9-9287-0e951cfe1847) * 04-02: Dateien schreiben 📝 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/04-02%20Dateien%20schreiben.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/04-02%20Dateien%20schreiben.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/04-02%20Dateien%20schreiben.ipynb), [Video (07:34)](https://mediathek.hhu.de/watch/9ea8d09d-3c8d-464b-8de1-3ed1e728d475) * 04-03: Dateien lesen 📁 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/04-03%20Dateien%20lesen.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/04-03%20Dateien%20lesen.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/04-03%20Dateien%20lesen.ipynb), [Video (04:30)](https://mediathek.hhu.de/watch/1200e999-57aa-4303-b0aa-6baa3dc1e652) ### KW 49, Live-Session: 30.11. * 05-01: Funktionen ⚙️ [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/05-01%20Funktionen.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/05-01%20Funktionen.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/05-01%20Funktionen.ipynb), [Video (16:20)](https://mediathek.hhu.de/watch/72f817ea-af69-4891-b434-ca4120b538b4) * 05-02: None 🗋 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/05-02%20None.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/05-02%20None.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/05-02%20None.ipynb), [Video (03:20)](https://mediathek.hhu.de/watch/7b5e2bb8-da7e-4b74-9546-9d286b5cbe89) * 05-03: Module 🧩 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/05-03%20Module.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/05-03%20Module.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/05-03%20Module.ipynb), [Video (06:57)](https://mediathek.hhu.de/watch/92c533f2-f4c8-4ed0-9bb3-aed3571fdf86), [Datei: wortformen.py](https://user.phil.hhu.de/~seyffarth/classes/python2020/wortformen.py), [Datei: textgenerierung.py](https://user.phil.hhu.de/~seyffarth/classes/python2020/textgenerierung.py) * 05-04: Namenskonflikte 📛 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/05-04%20Namenskonflikte.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/05-04%20Namenskonflikte.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/05-04%20Namenskonflikte.ipynb), [Video (10:00)](https://mediathek.hhu.de/watch/80da89cd-cda1-49f3-a35c-4b28159a8599) ### KW 50, Live-Session: 07.12. * 06-01: Fehlertypen, Fehlermeldungen lesen und verstehen 💥 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/06-01%20Fehlertypen.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/06-01%20Fehlertypen.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/06-01%20Fehlertypen.ipynb), [Video (19:11)](https://mediathek.hhu.de/watch/52bc0736-2d9c-4dc0-a61a-434c1d86cd84) * 06-02: Debugging 🕵️♀️ [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/06-02%20Debugging.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/06-02%20Debugging.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/06-02%20Debugging.ipynb), [Video (10:45)](https://mediathek.hhu.de/watch/18bd67c4-b3d4-4e1f-9072-774cdbb3a0fe), [Datei: 06_02_beispiel.py](https://user.phil.hhu.de/~seyffarth/classes/python2020/06-02-beispiel.py) ### KW 51, Live-Session: 14.12. * 07-01: Python-Dokumentation verwenden 📚 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/07-01%20Python-Dokumentation.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/07-01%20Python-Dokumentation.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/07-01%20Python-Dokumentation.ipynb), [Video (29:03)](https://mediathek.hhu.de/watch/1c9e9feb-0065-47f3-b094-098dc04d410f) * 07-02: Stackoverflow verwenden 👩💻 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/07-02%20Stackoverflow.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/07-02%20Stackoverflow.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/07-02%20Stackoverflow.ipynb), [Video (13:26)](https://mediathek.hhu.de/watch/0262b8fb-6bcb-455a-8f15-eeeaa132d940) ### Weihnachtspause! * Optionale Übungsaufgaben zum Lösen in Einzelarbeit (Zusatzpunkte!) ### KW 2, Live-Session: 11.01.2021 * 08-01: Mengen 🛍️ [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/08-01%20Mengen.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/08-01%20Mengen.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/08-01%20Mengen.ipynb), [Video (15:06)](https://mediathek.hhu.de/watch/03f168ea-609a-4677-b832-8f78f5b51471), [Video auf Sciebo](https://uni-duesseldorf.sciebo.de/s/kZRjLCm745ZKjPZ) * 08-02: Mutability 🧙♀️ [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/08-02%20Mutability.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/08-02%20Mutability.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/08-02%20Mutability.ipynb), [Video (23:46)](https://mediathek.hhu.de/watch/fd8301e0-19a9-466e-9b83-269ffde7768d), [Video auf Sciebo](https://uni-duesseldorf.sciebo.de/s/1uQhWeXcXqAt36K) ### KW 3, Live-Session: 18.01. * 09-01: Regular Expressions schreiben 🤯 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/09-01%20Regular%20Expressions%20schreiben.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/09-01%20Regular%20Expressions%20schreiben.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/09-01%20Regular%20Expressions%20schreiben.ipynb), [Video (21:26)](https://mediathek.hhu.de/watch/0c6dbfa6-73ab-40f4-95c9-51b2e4dd3d04) * 09-02: Regular Expressions in Python matchen 🤓 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/09-02%20Regular%20Expressions%20in%20Python%20verarbeiten.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/09-02%20Regular%20Expressions%20in%20Python%20verarbeiten.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/09-02%20Regular%20Expressions%20in%20Python%20verarbeiten.ipynb), [Video (13:39)](https://mediathek.hhu.de/watch/7dc1d0b2-b149-4395-8cb8-43d8f7fa2fa5) * 09-03: Regular Expressions und Gruppen 🤹♀️ [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/09-03%20Regular%20Expressions%20und%20Gruppen.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/09-03%20Regular%20Expressions%20und%20Gruppen.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/09-03%20Regular%20Expressions%20und%20Gruppen.ipynb), [Video (18:19)](https://mediathek.hhu.de/watch/4261ac5b-4024-4932-bad9-65185d5dbc8b) ### KW 4, Live-Session: 25.01. * 10-01: String formatting 🗳️ [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/10-01%20String%20Formatting.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/10-01%20String%20Formatting.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/10-01%20String%20Formatting.ipynb), [Video (30:43) auf Sciebo](https://uni-duesseldorf.sciebo.de/s/75RqrqvYlvOfQF2) * 10-02: Tupel 📦 [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/10-02%20Tuples.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/10-02%20Tuples.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/10-02%20Tuples.ipynb), [Video (06:34) auf Sciebo](https://uni-duesseldorf.sciebo.de/s/vc16SVSblXJH7TI) ### KW 5, Live-Session: 01.02. * 11-01: Rekursion 1 ↘️ [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/11-01%20Rekursion%201.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/11-01%20Rekursion%201.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/11-01%20Rekursion%201.ipynb), [Video (16:19)](https://mediathek.hhu.de/watch/c66ce189-b2a2-44ba-82f2-372028337981) * 11-02: Rekursion 2 (mit Debugger) ↗️ [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/11-02%20Rekursion%202.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/11-02%20Rekursion%202.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/11-02%20Rekursion%202.ipynb), [Video (29:20)](https://mediathek.hhu.de/watch/86ab29b9-0ac8-4bc3-a0e6-c79f6a77b87c), [Code-Beispiel 1](https://user.phil.hhu.de/~seyffarth/classes/python2020/11-02-string_umdrehen_1.py), [Code-Beispiel 2](https://user.phil.hhu.de/~seyffarth/classes/python2020/11-02-string_umdrehen_2.py) ### KW 6, Live-Session: 08.02. * Rückblick [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/12-01%20Rueckblick.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/12-01%20Rueckblick.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/12-01%20Rueckblick.ipynb), [Video (13:50)](https://mediathek.hhu.de/watch/1c8f2a7b-bcc7-4e29-92e0-b6c5f66c7f80) * Ausblick [(html)](https://user.phil.hhu.de/~seyffarth/classes/python2020/12-02%20Ausblick.html), [(pdf)](https://user.phil.hhu.de/~seyffarth/classes/python2020/12-02%20Ausblick.pdf), [(ipynb)](https://user.phil.hhu.de/~seyffarth/classes/python2020/12-02%20Ausblick.ipynb), [Video (16:51)](https://mediathek.hhu.de/watch/e26647c6-3a99-4a04-952c-077cd5499357)