rabid logic
23 Aug 2012
To Remove Extra Spaces From A String in Python
Edit
Delete
Tags
Autopost
>>> a='To be or not to be'
>>> ' '.join(a.split())
'To be or not to be'
Use ' '.join(a.split())
views
Tweet
Search
Tags
Ubuntu
Virtualbox
python
work around
authetication
remove spaces
convert to words
currency
format
format string
indian
jasper
jasper server
lists
openerp
remove()