Saturday, 5 April 2014

Magic of Python

$ python -m SimpleHTTPServer
Download HTML Page
$ python -m urllib > python.html

Prints the year calendar, like the "cal" command.

$ python -m calendar

Works as a command line ftp client

$ python -m ftplib

Sends email using localhost smtp server as relay.

$ python -m smtplib

Monday, 24 March 2014

Installing and configuring the PostgreSQL databse and python libraries