[Tutor] ascii?
Gerrit
gerrit at nl.linux.org
Tue Feb 17 06:30:13 EST 2004
arkamir at softhome.net wrote:
> Thanks for for the all the replies to my previous question, it really=20
> helped a lot. Now I'm wondering is there a module which automatically=20
> converts strings into the html ascii counterparts. Such as (< to <)=
or=20
> (> to >)? I got these values from http://www.asciitable.com/.=20
Two possiblities:
>>> cgi.escape('>')
'>'
>>> '&#%d;' % ord('>')
'>'
Gerrit.
--=20
Weather in Twenthe, Netherlands 17/02 09:25 UTC:
2.0=C2=B0C mist overcast wind 2.7 m/s SW (57 m above NAP)
--=20
Asperger's Syndrome - a personal approach:
http://people.nl.linux.org/~gerrit/english/
More information about the Tutor
mailing list