[CentralOH] chr()/ord() Ugliness

Eric Floehr eric at intellovations.com
Mon Nov 11 16:32:31 CET 2013


>
> I don't have a list of letters from which to pull.
>
> I understand 'hello world'.upper(), but not string.upper[i].
>


Would string.ascii_letters (or the locale-dependent string.letters), or one
of the others[1] work?

[1] http://docs.python.org/2/library/string.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/centraloh/attachments/20131111/cfe6410b/attachment.html>


More information about the CentralOH mailing list