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


Groups > comp.lang.python > #9791

Partial Function Application -- Advantages over normal function?

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <kurianmthayil@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'newbie': 0.03; 'received:localnet': 0.07; 'python': 0.08; 'advance.': 0.09; 'subject:Function': 0.09; 'gui': 0.13; 'received:124.125': 0.16; 'subject:function': 0.16; 'compared': 0.22; 'subject: -- ': 0.25; 'function': 0.26; 'partial': 0.29; 'skip:( 20': 0.30; 'advantageous': 0.30; 'thanks': 0.31; 'subject:?': 0.31; 'hi,': 0.31; 'programming.': 0.32; 'message-id:@gmail.com': 0.32; 'to:addr:python-list': 0.34; 'header:User-Agent:1': 0.34; 'there': 0.34; 'charset:us-ascii': 0.36; 'received:google.com': 0.38; 'received:209.85': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.40; 'header:Message-Id:1': 0.61; 'subject:over': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=Z4Q7uqNcExlxPruI2u0JT3IdRxYEsVIEC1qeu22ach4=; b=SgOnyIJif5mfwl/uhNx/fVtoIgTFkTU7HiwUzaz91K6Bh7UBP+hs2Q6rqlHY/suGCG VPfv6PghxHgmqmH2MheIJmUqDp1B8DUhctACfi5n68vw6751OjMNXrF7r/4mh8Qb4lJ0 r4futvUwUbCGXp5S5TqOQdmURiTHkOZnIhCAU=
From Kurian Thayil <kurianmthayil@gmail.com>
To python-list@python.org
Subject Partial Function Application -- Advantages over normal function?
Date Mon, 18 Jul 2011 15:43:42 +0530
User-Agent KMail/1.13.6 (Linux/2.6.38-10-generic; KDE/4.6.2; x86_64; ; )
MIME-Version 1.0
Content-Type Text/Plain; charset="us-ascii"
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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1208.1310984052.1164.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1310984052 news.xs4all.nl 23842 [2001:888:2000:d::a6]:52076
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:9791

Show key headers only | View raw


Hi,

I am a newbie in python and would like to learn GUI programming. I would like 
to know what exactly is Partial Function Applicaton (functool.partial())? Or 
how is it advantageous compared to normal functions? Or is there any 
advantange? Thanks in advance.

Regards,
Kurian Thayil.

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


Thread

Partial Function Application -- Advantages over normal function? Kurian Thayil <kurianmthayil@gmail.com> - 2011-07-18 15:43 +0530
  Re: Partial Function Application -- Advantages over normal function? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-19 01:08 +1000
  Re: Partial Function Application -- Advantages over normal function? woooee <woooee@gmail.com> - 2011-07-18 12:23 -0700
    Re: Partial Function Application -- Advantages over normal function? Terry Reedy <tjreedy@udel.edu> - 2011-07-18 16:17 -0400

csiph-web