%%(%s)s mean in python

Ned Batchelder ned at nedbatchelder.com
Wed Oct 29 12:38:54 CET 2014

On 10/29/14 2:02 AM, satishmlmlml at 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

More information about the Python-list mailing list