Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #79865
| From | Dave Angel <davea@davea.name> |
|---|---|
| Subject | Re:% symbol in python |
| Date | 2014-10-28 21:57 -0400 |
| Organization | news.gmane.org |
| References | <b80ee29c-e23a-4f11-9c65-746f7d74c347@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15276.1414547634.18130.python-list@python.org> (permalink) |
satishmlmlml@gmail.com Wrote in message: > <tr><th>key<td><input type=text name=key value="%(key)s"> > rowhtml = '<tr><th>%s<td><input type=text name=%s value"%%(%s)s">\n" > > what does % mean in first line of code and > what does %%(%s)s mean in second line of code > > kindly explain > Please post Python code, and we can try to comment on it. Those extra <tr> and <th> thingies are really killing my mental syntax checker. Also, always specify the python version. -- DaveA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
% symbol in python satishmlmlml@gmail.com - 2014-10-28 14:41 -0700
Re: % symbol in python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-28 22:17 +0000
Re:% symbol in python Dave Angel <davea@davea.name> - 2014-10-28 21:57 -0400
Re: % symbol in python satishmlmlml@gmail.com - 2014-10-28 20:51 -0700
Re: % symbol in python Chris Angelico <rosuav@gmail.com> - 2014-10-29 15:02 +1100
Re: % symbol in python satishmlmlml@gmail.com - 2014-10-28 21:41 -0700
Re: % symbol in python alex23 <wuwei23@gmail.com> - 2014-10-29 15:25 +1000
Re: % symbol in python satishmlmlml@gmail.com - 2014-10-28 22:48 -0700
Re: % symbol in python Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-29 08:40 +0000
csiph-web