@peterbe the ```with``` statement does not work with cvs.writer unfortunately (does not implement __exit__ and __enter__ methods IIRC), however I could do a ```with``` for the open()