Python Grundlagen (2021-08-23 - 2021-08-25)#
Log#
Day 1#
The basics, with a moderate amount of exercises.
Datatypes
Exercise: Exercise: Dictionary: Errors?
Exercise: Exercise: Digit to English Word (Solution)
Control Flow and Iteration
Exercise: Exercise: Primeness (while) (Solution)
Exercise: Exercise: Primeness (for)
Functions and Generators
Exercise: Exercise: Determine Maximum of Two Numbers (Function)
Exercise: Exercise: Primeness (Function)
Exercise: Exercise: Function: uniq()
Day 2#
Functions and Generators
Exercise: Exercise: Function: uniq()
Exercise: Exercise: Functions: join()
Exercise: Exercise: Generator: uniq()
File I/O and Strings
Exercise: Exercise: String (Right-Justify)
collections.namedtuple
: see heredatetime
datetime
: heretimedelta
: heredatetime.strptime()
: parsing strings
Exercise: Read a Cleaned-Up SAP Export
Modules
Quick run-through, modularizing the last exercise
JSON (Java Script Object Notation) quick demo (full JSON documentation see here)
Day 3#

Databases
Advanced Topics
Miscellaneous Topics
Live-Hacking (Jupyter Notebook)#
Links#
RRDtool (RRD = Round Robin Database)
Tutorials#
Python Tutorial for Beginners 4: Lists, Tuples, and Sets, by Corey Schafer
Python Tutorial for Beginners 5: Dictionaries - Working with Key-Value Pairs, by Corey Schafer
Python Tutorial for Beginners 7: Loops and Iterations - For/While Loops, by Corey Schafer
Python Tutorial for Beginners 8: Functions, by Corey Schafer
10 Python Tips and Tricks For Writing Better Code, by Corey Schafer
Python Tutorial: CSV Module - How to Read, Parse, and Write CSV Files, by Corey Schafer
Python Tutorial: Using Try/Except Blocks for Error Handling, by Corey Schafer
Python Tutorial: OS Module - Use Underlying Operating System Functionality, by Corey Schafer
Python Tutorial: Calling External Commands Using the Subprocess Module, by Corey Schafer
Transforming Code into Beautiful, Idiomatic Python, by Raymond Hettinger
After Work Party#
Bleiburg is not far away from Slovenia. As such, as a gift to myself after three work days, I had made plans to climb Grintovec (2558m) after an overnight stay at Češka Koča. See here for a tour description.