Take a look to the String Formating and String Interpolation in Python Documentation
http://docs.python.org/library/stdtypes.html#string-formatting-operations 2010/7/7 ra3don <ra3do...@gmail.com>: > I apologize for a seemingly simple question, but what exactly does '% > (title)s' do? I ran across it in the book in the wiki section, the > whole line reads. > > db.document.page_id.requires = IS_IN_DB(db, 'page.id', '%(title)s') > > Thanks in advance, > > ra3don. > -- http://rochacbruno.com.br