Python one-liner

May 23, 2007 10:21

Today, I needed to get some information out of my Amazon AWS usage report. (Bandwidth usage, in this case.) I wanted pretty output in gigs (usage is measured and reported in bytes) and I didn't want any of the extraneous stuff. Since AWS helpfully provides a CSV, I wrote a cunning little Python one-liner to extract it:

python -c 'print "\n". ( Read more... )

geekery, programming, python

Leave a comment

Comments 1

kazriko May 23 2007, 20:26:03 UTC
Well, this is readable to me pretty easily as well. I think the perl one would need a reference to read. ;)

Reply


Leave a comment

Up