Python Interpret String As Variable Decelerations