Testing a class at the interactive prompt?

Jp Calderone exarkun at intarweb.us
Wed Aug 13 14:08:58 EDT 2003


On Wed, Aug 13, 2003 at 01:45:40PM -0400, Dan Rawson wrote:
> How can I reload a class at the interactive prompt??
> 
> [snip]
>
> >>> from MyClass import MyClass1
> 
> doesn't give an error, but also doesn't get the newly modified method . . .
> 

  Don't use "from" imports here, and things will work as you desire.

  Jp






More information about the Python-list mailing list