FAQ
Yes, see the atexit module:


http://docs.python.org/3/library/atexit.html

On Mon, Aug 19, 2013 at 10:48 AM, Tamer Higazi wrote:
Hi people!

I have asked myself a question, if there is a opposite of "__init__.py"
like "__del__.py" ?!

I want, that when the application ends, certain functions are executed.
I know I could make a constructor and a destructor, but I simply want to
know if there is a opposite....


Thanks



Tamer
--
http://mail.python.org/mailman/listinfo/python-list

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 4 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedAug 19, '13 at 4:48p
activeAug 19, '13 at 6:48p
posts4
users4
websitepython.org

People

Translate

site design / logo © 2021 Grokbase