Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1a.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.006 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'try:': 0.09; 'def': 0.12; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'help.': 0.21; 'code,': 0.22; 'example': 0.22; 'python?': 0.22; 'header:User-Agent:1': 0.23; 'received:comcast.net': 0.24; 'asking': 0.27; 'header:X -Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; "doesn't": 0.30; 'lines': 0.31; 'about.': 0.31; 'context.': 0.31; 'entirely': 0.33; 'depends': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; "you'll": 0.62; 'email addr:gmail.com': 0.63; '2:02': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ned Batchelder Subject: Re: %%(%s)s mean in python Date: Wed, 29 Oct 2014 07:38:54 -0400 References: <76c6409c-5289-4cf2-b80a-6349325356c6@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: c-50-133-228-126.hsd1.ma.comcast.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: <76c6409c-5289-4cf2-b80a-6349325356c6@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1414582749 news.xs4all.nl 2836 [2001:888:2000:d::a6]:47750 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3039 X-Received-Body-CRC: 3727631145 Xref: csiph.com comp.lang.python:79906 On 10/29/14 2:02 AM, satishmlmlml@gmail.com wrote: > def fetchRecord(db, form): > try: ... 34 lines deleted ... > db.close() > print(replyhtml % htmlize(fields)) Why did you paste all this code, it doesn't have the thing you are asking about. > > What does %%(%s)s mean in Python? > It depends entirely on context. You'll need to find a *small* example of what you are asking about so we can help. -- Ned Batchelder, http://nedbatchelder.com