split question

alexk alexk at mailinator.com
Thu Apr 28 13:02:30 EDT 2005


I've a simple question. Why the following:

words = "123#@$#$@^%[wordA] wordB#@$".split('~`!@#$%^&*()_+-=[]{},./')

doesn't work? The length of the result vector is 1.

I'm using ActivePython 2.4

Alex




More information about the Python-list mailing list