have a look at str.split. You can use it to split a string up into a list:
"foo bar baz".split() #['foo','bar','baz'] (split on any whitespace)
"foo$bar$baz".split('$') #['foo','bar','baz']
From here, it's just a matter of splitting the string into the appropriate lists, and then iterating over the lists properly to pick out the elements that you need.
Additionally, you could use str.find to get the index of the class name and split your string there using slicing before splitting on $
. That would make it easier to get the particular score (without an additional iteration):
s = 'foo$bar$baz'
s_new = s[s.find('bar'):] #'bar$baz'
baz = s_new.split('$')[1]
print baz