Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #52693

opposite of __init__.py

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.109.133.87.MISMATCH!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <th982a@googlemail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.089
X-Spam-Evidence '*H*': 0.82; '*S*': 0.00; 'constructor': 0.09; 'ends,': 0.16; 'executed.': 0.16; 'opposite': 0.16; 'header:User- Agent:1': 0.23; 'certain': 0.27; 'asked': 0.31; 'could': 0.34; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'thanks': 0.36; 'application': 0.37; 'from:addr:googlemail.com': 0.38; 'question,': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'simply': 0.61; 'myself': 0.63
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=CwlPm0u8ql2a7fmG3UNggEniChU/H6JI90u+Bl60cX0=; b=MOh/k39yEESiZwyfNfQPoM6MlJk+M5u/yE9w3XBsoK6VehVbKad1lpB6ThHXthJurh 3D+0L+br+zK1ifZz4vSrw0l04ew41YIZJNhnGZINIaqjMciidFrDk6HMVtL7TTftUMvi NXhrgW3+phrkxht3ky8xzuLRlUCGsWQEefPKmPKnPw7TIaRiMwhcvdlyDV4tuFUc2bXi zygxBFxATy2IF1Iwyn2FiQy420AO4+XYcySFfwJWpzxs2qpaaegA123qLJq/3T9LaM0u CENc+fetohTCgf3W8yajYQ//3D4OsEK6SRQab8FiICL8/XgnzvHvAta+83EFBXGONVw/ 6dJg==
X-Received by 10.14.223.1 with SMTP id u1mr24266738eep.10.1376930903337; Mon, 19 Aug 2013 09:48:23 -0700 (PDT)
Date Mon, 19 Aug 2013 18:48:19 +0200
From Tamer Higazi <th982a@googlemail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130815 Thunderbird/17.0.8
MIME-Version 1.0
To python-list@python.org
Subject opposite of __init__.py
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.32.1376930910.19984.python-list@python.org> (permalink)
Lines 15
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1376930910 news.xs4all.nl 15866 [2001:888:2000:d::a6]:50465
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:52693

Show key headers only | View raw


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

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

opposite of __init__.py Tamer Higazi <th982a@googlemail.com> - 2013-08-19 18:48 +0200
  Re: opposite of __init__.py Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-08-19 17:13 +0000

csiph-web