Create list from string

ericdaniel eric.acevedo at gmail.com
Fri Jun 13 16:15:44 CEST 2008


Hi,

I'm new to Python and I need to do the following:

from this:   s = "978654321"
to this :      ["978", "654", "321"]

Any help is appreciated

Thanks,

Eric



More information about the Python-list mailing list