How I work with PyBites exercises on my iPad

Posted on Sat 21 September 2019 in Python • Tagged with Python, PyBites, Pythonista • 4 min read

Update 2019-09-25: With the new iPadOS 13.1 it works very well to do challenges directly on PyBites code challenges website with an external keyboard!! If you're using iPadOS 13.1+ take a look at my new workflow instead.

Update 2019-09-22: The workflow in this article assumes that you have …


Continue reading

Pieces of Py #5 Slice me up

Posted on Tue 17 September 2019 in Python • Tagged with Python, Pieces of Py, Slicing • 3 min read

In my learnings of Python I came to know that there is something called slicing. Given a sequence that you want to get certain sub-elements from, you can more easily get the results you want with slicing, instead of e.g. making a couple of for-loops.

Lets start with taking …


Continue reading

Pieces of Py #4 Using itertools.groupby

Posted on Sun 01 September 2019 in Python • Tagged with Python, Pieces of Py, Itertools • 3 min read

During some of the exercises I did on my first round of #100DaysOfCode there was a need to group an iterable by a certain field in the data structure. I found out, that was a function called groupby in the built-in itertools library that can be used for it.

In …


Continue reading

Code Journal R2D5 100 Days of Code 2019-08-30

Posted on Fri 30 August 2019 in Python • Tagged with Python, Code Journal, Flask • 3 min read

The first couple of days of this second round of #100DaysOfCode I went through almost all the Flask tutorials in #100DaysOfWeb in Python) . They are:

  • Flask Intro
  • Calling APIs in Flask
  • Flask Login

As an extension to that I wanted to build my own app from scratch, in a way …


Continue reading

Pieces of Py #3 Clean up data from csv and save to json in a simple way with pandas

Posted on Mon 05 August 2019 in Python • Tagged with Python, Pieces of Py, Pandas, CSV, JSON • 4 min read

At work I once had to take a csv file that was exported from a large list in SharePoint, clean it up a bit and export it to a JSON format for importing in to a data layer. The csv file contained all columns in the SharePoint list, which was …


Continue reading