s = \'the brown fox\'
...do something here...
s should be:
s
\'The Brown Fox\'
What\'s the easiest
As Mark pointed out, you should use .title():
"MyAwesomeString".title()
However, if would like to make the first letter uppercase inside a Django template, you could use this:
{{ "MyAwesomeString"|title }}
Or using a variable:
{{ myvar|title }}