[CentralOH] chr()/ord() Ugliness
Eric Floehr
eric at intellovations.com
Mon Nov 11 18:43:09 CET 2013
>
> Interesting, I didn't know it changed based on locale.
>
> So, I guess in a more general term, if one wanted a way to constantly
> access
> letters A-Z it would probably be better to hard code a string like so?
>
No, just use string.ascii_uppercase rather than string.uppercase.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/centraloh/attachments/20131111/dbb029d1/attachment.html>
More information about the CentralOH
mailing list