Web | This Site

Python Basics
Python Advanced
Python Useful References
Python Useful Resources
Selected Reading
© 2011 TutorialsPoint.COM

| Home |  | References |  | Discussion Forums |  | About TP

# Python String title() Method

## Description:

This method returns a copy of the string in which first characters of all the words are capitalized.

## Syntax:

    str.title();

## Parameters:

Here is the detail of parameters:

- NA

## Return Value:

It returns a copy of the string in which first characters of all the words are capitalized.

## Example:

    #!/usr/bin/python

    str = "this is string example....wow!!!";
    print str.title();

This will produce following result:

    This Is String Example....Wow!!!

Advertisement

Online Image Processing

Indian Baby Names