vrypan — panayotis vryonis
My blog is a digital scrapbook of ideas, thoughts and personal events. My home is vrypan.net.
Home — Archive: All · English · Greek — RSS Feeds: full feed · other options
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

Share this post:
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.
Privacy: I hate spam as much as you do, maybe more. I will not share your email with advertisers, etc.