[Tutor] String switch

Christopher King g.nius.ck at gmail.com
Mon Oct 3 02:33:35 CEST 2011

Dear Tutors,
    I was wondering how one would make it so all the cases of all the
strings in a python file where switched. I know that for individual strings,
you can use .swapcase(), but I'm making a program to edit others, so it
would be easier to just do something at the top that would switch all other
strings. Thank you in advance.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20111002/c654be9b/attachment.html>

More information about the Tutor mailing list