Command line json formatter
$ echo '{"name": "Bangpypers", "location": "Bangalore"}' | python -m
json.toolOn Tue, Sep 10, 2013 at 3:28 PM, Noufal Ibrahim <[email protected]>wrote: > "Me@Bibhas" <[email protected]> writes: > > > Don't know if I can call it a snippet, But this command on terminal - > > > > $ python -m SimpleHTTPServer 8080 > > Similar but less well known. > > Command line ftp client (similar to ftp(1)) > python -m ftplib ftp.gnu.org > > Command line mail client (similar to mail(1)) but needs a local MTA > running > python -m smtplib > > Command line IMAP client (similar mutt -f imap://...) > python -m imaplib -d5 [email protected] > > Command line POP client > python -m poplib pop.gmail.com > > There are probably others too. > > > [...] > > > -- > Cordially, > Noufal > http://nibrahim.net.in > _______________________________________________ > BangPypers mailing list > [email protected] > https://mail.python.org/mailman/listinfo/bangpypers > -- Vineet Naik _______________________________________________ BangPypers mailing list [email protected] https://mail.python.org/mailman/listinfo/bangpypers
