Accessing the contents of a 'cell' object from Python

Duncan Booth duncan.booth at invalid.invalid
Wed Mar 16 05:01:19 EST 2005


Jeff Epler wrote:

> Here's an old thread I contributed to which had a similar function
> (called 'cell_get' in this case)
> 
> http://groups-beta.google.com/group/comp.lang.python/browse_thread/thre
> ad/baba3b943524a92c/71b57a32b311ffc8?q=func_closure#71b57a32b311ffc8 
> http://groups-beta.google.com/group/comp.lang.python/msg/71b57a32b311ff
> c8?dmode=source 
> 

And if you want to set the value of a cell variable you can perform 
similar tricks see:

http://groups.google.co.uk/groups?selm=Xns95F991C538FC3duncanrcpcouk%40127.0.0.1



More information about the Python-list mailing list