Try out autopair mode.
Try out python-mode.