How to convert " " in a string to blank space?

martdi martin.dion at gmail.com
Mon Oct 30 12:30:35 EST 2006


一首诗 wrote:
> Is there any simple way to solve this problem?

>>> myString = " "
>>> myString = myString.replace(" ", "")




More information about the Python-list mailing list