[portland] Script to Change UPPER CASE to Mixed Case

Nick Welch mackstann at gmail.com
Wed Sep 23 00:34:26 CEST 2009


On Mon, Sep 21, 2009 at 5:35 PM, Rami Kassab <rami at typethink.com> wrote:

> Rich, I believe what you're referring to is Title Case. Python has a built
> in method for strings called title(), which you could use but it doesn't
> take into account small words. I found this method,
>
> http://muffinresearch.co.uk/archives/2008/05/27/titlecasepy-titlecase-in-python/
> ,
> that follows some rules from the New York Times for title casing.
>

Just wanted to say thanks for sharing this.  I've been meaning to
correct the capitalization in my mp3 collection but have been avoiding
it.  I think I might actually get around to it now!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/portland/attachments/20090922/75c530c6/attachment.htm>


More information about the Portland mailing list