better way than: myPage += 'more html' , ...
Max M
maxm at mxm.dk
Thu Jun 26 15:57:35 EDT 2003
Chuck Spears wrote:
> I have a question with regards to the sprintf style of replacing
> strings. I have a table in my HTML with a 50% width specifier. How
> can i get the formatter to ignore it. For example in the example
> below how can i code the 50% to be ignored?
>
> keep the "%s 50% %s" % ("a","b")
Double the %
"%s 50%% %s" % ("a","b")
regards Max M
More information about the Python-list
mailing list