ipython: print complete history (not just current session) October 16, 2022 by Tarik In ipython enter: %history -g It does not print time codes but it does print session/line number.