Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!news2.euro.net!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.015 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'python': 0.08; 'similarly,': 0.09; 'subject:Function': 0.09; 'syntax': 0.11; 'def': 0.12; 'am,': 0.14; 'wrote:': 0.14; 'java.': 0.16; 'message- id:@glegroupsg2000goo.googlegroups.com': 0.16; 'reply- to:addr:comp.lang.python': 0.16; 'subject:modules': 0.16; 'to:addr:comp.lang.python': 0.16; '16,': 0.16; 'forgotten': 0.16; 'static': 0.16; 'void': 0.16; 'cc:addr:python-list': 0.17; 'header :In-Reply-To:1': 0.21; 'cc:2**0': 0.22; 'received:209.85.220': 0.25; 'class': 0.29; 'cc:addr:python.org': 0.30; 'andrew': 0.32; "isn't": 0.33; "i've": 0.33; 'header:User-Agent:1': 0.35; 'received:google.com': 0.37; 'something': 0.37; 'received:209.85': 0.37; 'thursday,': 0.37; 'but': 0.38; 'subject:: ': 0.38; 'received:209': 0.39; 'almost': 0.60; 'to:addr:googlegroups.com': 0.63; 'header:Reply-To:1': 0.72; 'reply-to:no real name:2**0': 0.72; 'learned': 0.73; 'reply-to:addr:googlegroups.com': 0.73; 'june': 0.77; 'subject:class': 0.84; 'yourself:': 0.84 Newsgroups: comp.lang.python Date: Thu, 16 Jun 2011 08:52:43 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=192.223.243.5; posting-account=W6anpAoAAABCcU4OKFSlcJpyVgvwTcuB User-Agent: G2/1.0 X-Google-Web-Client: true MIME-Version: 1.0 Subject: Re: Function within class and in modules From: Zachary Dziura To: comp.lang.python@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: "comp.lang.python" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: comp.lang.python@googlegroups.com List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Message-ID: Lines: 13 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1308239566 news.xs4all.nl 49180 [::ffff:82.94.164.166]:56442 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7746 On Thursday, June 16, 2011 9:02:45 AM UTC-4, Andrew Berg wrote: > 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. Pssshhh... Syntax can be set up similarly, but that's not the same! And you know that. =P