Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'wed,': 0.03; 'python.': 0.04; 'high-level': 0.05; 'definitions': 0.07; 'function,': 0.07; 'advance.': 0.09; "j'ai": 0.09; 'subject:Function': 0.09; 'am,': 0.14; 'wrote:': 0.14; 'cc:addr:python-list': 0.17; 'source.': 0.19; 'header:In-Reply-To:1': 0.21; 'cc:2**0': 0.22; 'cc:no real name:2**0': 0.23; 'received:209.85.161.46': 0.23; 'received:mail- fx0-f46.google.com': 0.23; 'function': 0.25; 'url:mailman': 0.26; 'received:209.85.161': 0.26; 'message-id:@mail.gmail.com': 0.28; 'thanks': 0.28; 'cc:addr:python.org': 0.30; 'url:listinfo': 0.30; 'andre': 0.30; 'sort': 0.31; 'source': 0.34; 'there': 0.35; 'subject: ?': 0.35; 'received:google.com': 0.37; 'received:209.85': 0.37; 'depend': 0.37; 'url:python': 0.38; 'url:org': 0.38; 'subject:: ': 0.38; 'received:209': 0.39; 'your': 0.60; 'header:Reply-To:1': 0.72; 'reply-to:no real name:2**0': 0.72; 'reply-to:addr:gmail.com': 0.79; 'autres': 0.84; 'blog!': 0.84; 'ont': 0.84; 'url:fr': 0.96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=+sMdB0kyYd4MpnTXg4p/Tp5P6ed/gR8av4b3usiEhtY=; b=KVz+yQ5wftXXAPPFGq1QqsS1z7A1Zg3G0KHV6D9xxjKRyow/HRy/0UNGTXbagAoYk8 cRYbPsqQsmYbsgI6+K+n/BtWzTuYnBSHPWMo8WMSPQWE238+mP8tOBO7kOwP5gq45iBW O7SwaWL5FGPFqps1JwFY74iNbO1b9HNIQkfa0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; b=vg9NVNhOAZCHgdjG4ZaL0t38hcDWrjYmqMjOKuti6uQOHikixAVDXKXYdWGt9i7gMz Vn2CVE26FySXPgQqudAem0drPy3NGZvPPMZniddHvFg0rFnDPqN+HoZq6mmL7bYW5+VD dHzLP5+80TWwbKkcxDvXnaj2oi1QdXvVyMLGk= MIME-Version: 1.0 In-Reply-To: References: From: Calvin Spealman Date: Wed, 8 Jun 2011 10:06:56 -0400 Subject: Re: Function declarations ? To: Andre Majorel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ironfroggy@gmail.com 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: 24 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1307542038 news.xs4all.nl 49183 [::ffff:82.94.164.166]:34817 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7236 Just write the function, at the top of the source. Easy peasy. On Wed, Jun 8, 2011 at 9:58 AM, Andre Majorel wrot= e: > Is there a way to keep the definitions of the high-level > functions at the top of the source ? I don't see a way to > declare a function in Python. > > Thanks in advance. > > -- > Andr=C3=A9 Majorel http://www.teaser.fr/~amajorel/ > J'ai des droits. Les autres ont des devoirs. > -- > http://mail.python.org/mailman/listinfo/python-list > --=20 Read my blog! I depend on your acceptance of my opinion! I am interesting! http://techblog.ironfroggy.com/ Follow me if you're into that sort of thing: http://www.twitter.com/ironfro= ggy