Hi all, The following works under vanilla Python: import doctest doctest.testfile('HOWTO_DOCUMENT.txt') # file from the numpy rep Is there an easy way to make it work under IPython, too? Thanks, Stéfan