Difference in Python and Ruby interactive shells

Peter Otten __peter__ at web.de
Fri Apr 7 03:17:12 EDT 2006


Alex Martelli wrote:

> Michele Simionato <michele.simionato at gmail.com> wrote:
> 
>> You want this recipe from Michael Hudson:
>> 
>> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/160164
>> 
>>       "automatically upgrade class instances on reload()"
> 
> Note that the version in the printed Cookbook (2nd edition) was
> substantially enhanced (mostly by me and Michael working together), I
> don't know if Michael updated his ASPN recipe to reflect that but at any
> rate you can download all the code from the printed Cookbook as a
> zipfile from O'Reilly's site (sorry, I don't recall the URL).

http://examples.oreilly.com/pythoncook2/cb2_examples.zip

The files are named cb2_6_21_*.py, but the book has the recipe in chapter
20.15.

Peter



More information about the Python-list mailing list