Split string into different variables instead of array in Python

Viewed 109231

Possible Duplicate:
Python Split String

Is possible to directly split string into variables in one line, instead of using two lines. I'm sure that split would have two elements. Two lines example:

myString = "Anonym Anonymous"
a = myString.split()
firstName,lastName = a[0],a[1]
2 Answers
Related