Re: %%(%s)s mean in python

2014-10-29 Thread Thomas Rachel
Am 29.10.2014 07:02 schrieb satishmlm...@gmail.com: What does %%(%s)s mean in Python? Weird question, as this has nothing to do with the code you just posted. In general, what comes up to my mind, is that it is a format string to build another format string. Example: metafmt = '%%(%s)s' f

Re: %%(%s)s mean in python

2014-10-29 Thread Ned Batchelder
On 10/29/14 2:02 AM, satishmlm...@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 e

Re: %%(%s)s mean in python

2014-10-28 Thread satishmlmlml
also what does rowshtml += (rowhtml % ((fieldname,) * 3)) expand to? -- https://mail.python.org/mailman/listinfo/python-list