Python Interpret String As Variable Speed