[BangPypers] How to run a block of code just before the interpreter is being exited like END{} in perl ??
Saager Mhatre
saager.mhatre at gmail.com
Thu Sep 12 20:01:17 CEST 2013
On Mon, Sep 9, 2013 at 7:23 PM, Anand B Pillai
<anandpillai at letterboxes.org>wrote:
> [...]
>
>
I gave that example as it was given in the Python documentation
> for atexit module.
>
> http://docs.python.org/2/library/atexit.html#module-atexit
Wow, hadn't noticed that the example was in the docs. Still, doesn't make
too much sense to me.
That said, idioms in Python have always been a bit of a mystery to me...
- d
More information about the BangPypers
mailing list