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: 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 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.