Added feature to append each command to the python history file as soon as user presses enter on the repl.
Added feature to append each command to the python history file as soon as user presses enter on the repl.

hirochachacha/apython,thomasballinger/old-bpython-with-hy-support,myint-archive/bpython