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


Groups > comp.lang.python > #7739

Re: Function within class and in modules

Date 2011-06-16 08:02 -0500
From Andrew Berg <bahamutzero8825@gmail.com>
Subject Re: Function within class and in modules
References <ita6nj$4j4$1@speranza.aioe.org> <29d03ead-fce0-4d6e-b0d0-692cbb19712f@dn9g2000vbb.googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.14.1308229382.1164.python-list@python.org> (permalink)

Show all headers | View raw


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.

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


Thread

Function within class and in modules TheSaint <nobody@nowhere.net.no> - 2011-06-15 19:57 +0800
  Re: Function within class and in modules Roy Smith <roy@panix.com> - 2011-06-15 08:18 -0400
  Re: Function within class and in modules Zach Dziura <zcdziura@gmail.com> - 2011-06-15 06:57 -0700
    Re: Function within class and in modules TheSaint <nobody@nowhere.net.no> - 2011-06-16 20:33 +0800
    Re: Function within class and in modules Andrew Berg <bahamutzero8825@gmail.com> - 2011-06-16 08:02 -0500

csiph-web