Use string.split() instead and split on the commas. Python has a csv module (comma separated variables), but it looks like that would be overkill here.
Reputation Points: 741
Solved Threads: 694
Nearly a Posting Maven
Offline 2,314 posts
since Dec 2006