Evaluating Python expressions