Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Message from discussion ten small Python programs

View parsed - Show only message text

Path: g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!62.216.30.27.MISMATCH!newsgate.cistron.nl!xs4all!transit3.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path: <wilde...@freakmail.de>
X-Original-To: python-l...@python.org
Delivered-To: python-l...@bag.python.org
X-Spam-Status: OK 0.006
Date: Sun, 27 May 2007 17:45:52 +0200
From: Wildemar Wildenburger <wilde...@freakmail.de>
User-Agent: Thunderbird 1.5.0.10 (X11/20070302)
MIME-Version: 1.0
To: python-l...@python.org
Subject: Re: ten small Python programs
References: <409218.34160.qm@web33506.mail.mud.yahoo.com>
In-Reply-To: <409218.34160.qm@web33506.mail.mud.yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-BeenThere: python-l...@python.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: General discussion list for the Python programming language
	<python-list.python.org>
List-Unsubscribe: <http://mail.python.org/mailman/listinfo/python-list>,
	<mailto:python-list-requ...@python.org?subject=unsubscribe>
List-Archive: <http://mail.python.org/pipermail/python-list>
List-Post: <mailto:python-l...@python.org>
List-Help: <mailto:python-list-requ...@python.org?subject=help>
List-Subscribe: <http://mail.python.org/mailman/listinfo/python-list>,
	<mailto:python-list-requ...@python.org?subject=subscribe>
Newsgroups: comp.lang.python
Message-ID: <mailman.8258.1180280759.32031.python-list@python.org>
Lines: 12
NNTP-Posting-Host: 194.109.207.14
X-Trace: 1180280759 news.xs4all.nl 325 [::ffff:194.109.207.14]:47301
X-Complaints-To: abuse@xs4all.nl

Steve Howell wrote:
>     # def defines a method in Python
>     def say_hello(name):
>         print 'hello', name
>     say_hello('Jack')
>     say_hello('Jill')
>   
Doesn't def define methods *xor* functions, depending on the context? 
And in this example, say_hello (*yuck*, underscores ...) is certainly a 
function. Or is it that functions are considered "module-methods"?

W

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google