Python mode configurable

Related to #1259, I gave a shot at making python-mode configurable and add the docs in corresponding index.html file.