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

martdi martin.dion at gmail.com
Mon Oct 30 18:30:35 CET 2006


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

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




More information about the Python-list mailing list