Monthly Archives: August 2013

canviz, jake and npm

I wanted to play with canviz (http://www.ryandesign.com/canviz/) to play around with graphviz and javascript. It’s still not clear what I’ll be able to do quickly with it but first I needed to install it. I first tried from the source … Continue reading

Posted in Computer Science | Tagged , | Leave a comment

Python: Error: new-line character – how to open the file in universal-newline mode ?

I was playing with the CSV module from the Python standard library. Typically using a code such as: import csv import zipfile zip = zipfile.ZipFile("file.zip") zipdata = zip.open("ExistingFile.csv") data_iter = csv.reader(zipdata, delimiter=",") data_iter.next() import csv import zipfile zip = zipfile.ZipFile("file.zip") … Continue reading

Posted in Python | Tagged | Leave a comment