breaking a string

Michael Yuen myuen at
Tue Oct 16 22:57:02 CEST 2001

I'm pretty new to this Python stuff and i'm trying to figure out how to 
break a string into it's component parts.

For example, if a line of text in a file is:
"Hello World!"

I want to enter that into my list as just ['Hello', 'World']
Can someone help me out?



More information about the Python-list mailing list