[IPython-user] how to use @dreload after a @run?

Maciej Kalisiak mac at cs.toronto.edu
Sun May 16 15:45:49 CDT 2004

I test my programs under IPython using @run foo.py.  Occasionally I find a
bug and correct the source of one of the modules imported by foo.py.  If I
again do @run foo.py, foo.py source will be reread, but not that off the
modules it imports.  From what I understand, this is where @dreload comes in.
My question is, how exactly do I invoke this command???  I haven't seen any
particular examples anywhere. "@dreload foo" and "@dreload bar" seem to be
not the correct way (errors).

"They laughed at Einstein. They laughed at the Wright Brothers. But they also
 laughed at Bozo the Clown." -- C. Sagan

More information about the IPython-user mailing list