Simon Mullis <simon at mullis.co.uk> writes: > If "eval" is not the way forward, are there any suggestions for > another way to do this? ast.literal_eval might be the thing for you.