Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #52703 > unrolled thread
| Started by | Dave Angel <davea@davea.name> |
|---|---|
| First post | 2013-08-19 18:48 +0000 |
| Last post | 2013-08-19 18:48 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: opposite of __init__.py Dave Angel <davea@davea.name> - 2013-08-19 18:48 +0000
| From | Dave Angel <davea@davea.name> |
|---|---|
| Date | 2013-08-19 18:48 +0000 |
| Subject | Re: opposite of __init__.py |
| Message-ID | <mailman.39.1376938143.19984.python-list@python.org> |
Tamer Higazi wrote: > Hi people! > > I have asked myself a question, if there is a opposite of "__init__.py" > like "__del__.py" ?! Others have answered your question, but I wanted to correct a misunderstanding: > > I want, that when the application ends, certain functions are executed. > I know I could make a constructor and a destructor, Not sure what you're talkiing about, but you cannot be sure that an object's destructor ( __del__() ) will ever be called. If you want to make sure that a particular object gets processed, one approach is the with- syntax. > but I simply want to > know if there is a opposite.... > -- DaveA
Back to top | Article view | comp.lang.python
csiph-web