Advertisement
rfmonk

string_capwords.py

Dec 29th, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. #!/usr/bin/env python
  2.  
  3. import string
  4.  
  5. s = 'The quick brown fox jumped over the lazy dog.'
  6.  
  7. print s
  8. print string.capwords(s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement