Workshop Python/W03

From Frack - Hackerspace Friesland
Jump to navigationJump to search
Icoon waarschuwing geel.svg Je kijkt naar een activiteit die in het verleden heeft plaatsgevonden
Workshop: W03 – Files, contexts and CSV
Datum 7 juli 2011 om 20:00
Contactpersoon Elmer
Locatie Frack, Blokhuisplein 40, Leeuwarden
Onderwerp Onderwerp::Python
ActiviteitenoverzichtActiviteit toevoegen

We discussed how to read and write files, use contexts (for files that is) and reading Comma Separated Values (good 'ole spreadsheet format).

Also enabled permissions for people that can access the repository to add files in //frack/home (Fludizz already did this, follow his lead).

Presentation

Python: files and contexts (with: snakes)

Homework

CSV reading, processing and writing

Code

Exception handling and CSV processing example code (spoiler alert: this solves your homework 'assignment').