How to repeat last command in python interpreter shell? How to repeat last command in python interpreter shell? shell shell