I came across a problem where I wanted to grab some data off a CSV text file (see sample below) and plug it into a data structure, but — and there’s always a “but” — I had to do it in ANSI C. Eyeroll. Doing it in Python would be a snap:
1
2
3
4
5
6
7
8
9
10
path = "players.txt"
dbfile = [...]