vrypan — Panayotis Vryonis
My blog is a digital scrapbook of ideas, thoughts and personal events. My digital home is www.vrypan.net.
notes@vrypanThe Letterrss

Mostly cloudy 19°C Athens, Greece — #howto #en

python one-liners

  1. format json (via stackoverflow)

    $ echo '{"foo": "lorem", "bar": "ipsum"}' | python -mjson.tool

  2. start a local HTTP server (via linuxjournal)

    $ cd /home/somedir
    $ python -m SimpleHTTPServer

Let me send you my newsletter.

The Letter is a newsletter I send out whenever I have something to say or share. It may take a few days, weeks or months for the next one. It's not your typical "newsletter" but you'll probably find it interesting and insightful at times.

Don't worry, I hate spam as much as you do.

Share this post:           HN