Follow me
-
Recent Posts
calendar
Recent Comments
- How to disable SSL verification for urlretrieve? – Peter's blog on python: certificate verified failed
- Anonymous on python argparse issues with the help argument (TypeError: %o format: a number is required, not dict)
- Wendy on gimp: how to make a transparent background
- Tanyo Ivanov on git : How to remove a big file wrongly committed
- Peter D. on How to use subprocess with PIPEs
Archives
Categories
Meta
Media RSS
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
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