Python history in interpreter