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: 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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