Mega Code Archive
Categories
/
Python Tutorial
/
String
Split by
entry = "Name:James:Occupation:Software Engineer" print entry.split(':')