I\'ve been googling lots and this is getting really frustrating. It doesn\'t act like idle.
Example:
else: name = \'World\' print \'Howdy\
Emacs has python-mode which (also) does it. Grab it and prepare for life-time enjoyment.