Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder3.hal-mli.net!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'python': 0.08; 'subject:Function': 0.09; 'def': 0.12; 'am,': 0.14; 'received:209.85.214.174': 0.14; 'received:mail- iw0-f174.google.com': 0.14; 'wrote:': 0.14; 'java.': 0.16; 'subject:modules': 0.16; 'forgotten': 0.16; 'static': 0.16; 'void': 0.16; 'header:In-Reply-To:1': 0.21; 'received:209.85.214': 0.28; 'class': 0.29; 'to:addr:python-list': 0.33; "isn't": 0.33; "i've": 0.33; 'header:User-Agent:1': 0.35; 'message- id:@gmail.com': 0.36; 'received:google.com': 0.37; 'something': 0.37; 'received:209.85': 0.37; 'subject:: ': 0.38; 'received:192': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'received:192.168.1': 0.40; 'almost': 0.60; 'learned': 0.73; 'subject:class': 0.84; 'yourself:': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=kDdDN3Gdv1ueFzGw7hPZk67qAvoKvO6dli1dwSeDKw4=; b=j7julCuWrgwVnjilEal+FYfkatfBhBLJD7FOx4/JTqM8UgPACi3A9sKdv4a6Ge6AVu yZZlFP3UviD66t8EW8hf+IZ6MvSlEDCpX81hYCmZlSBxUN2tM7FHnbCPrwo7KBH/Hg0F 8eE472zzonGHqYXqOt/K2hKSydWd9zTDyyPkE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=kQnrbaSPkKCLku+KMslXukSy99835c/c7ZPwc3iJqg6IIRmv+UM8wSKHXNdv9RJkST 68uuGVCydQOJRwOrOPn94UdWPnhgt3X5K5mQc+dEs1Tg5q0b7fZ5PIznmjQHDfISqPpM fjVxI55yvlZrgdM85rlbktBOe6OW4+7XUUdu8= Date: Thu, 16 Jun 2011 08:02:45 -0500 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 ThunderBrowse/3.3.5 MIME-Version: 1.0 To: "comp.lang.python" Subject: Re: Function within class and in modules References: <29d03ead-fce0-4d6e-b0d0-692cbb19712f@dn9g2000vbb.googlegroups.com> In-Reply-To: <29d03ead-fce0-4d6e-b0d0-692cbb19712f@dn9g2000vbb.googlegroups.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 10 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1308229382 news.xs4all.nl 49180 [::ffff:82.94.164.166]:50928 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7739 On 2011.06.15 08:57 AM, Zach Dziura wrote: > Just repeat this to yourself: Python ISN'T Java. class MainClass: def public static void main(*args): print('Am I doin' it right?') :P Or something like that. I've forgotten almost everything I learned about Java.