Please show some code.

A simple Python example:

>>> s = "%d%%" % 3
>>> s
'3%'
>>>

Regards Martin


2014-02-12 18:28 GMT+01:00 Alejandro Garza Gracia <[email protected]>:

> Hello, I've looked through the documentation and the questions asked but I
> haven't been able to escape the '%' percent character in a string.
>
> I've tried using '\%' and '%%' in a label string, but none has worked so
> far.
>
> I'd appreciate the help.
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to