Geoffrey Clements:
> readfile = open('prefs').readlines()
> for line in readfile:
>  print line
>  eval(line)
>  print Basic

Instead of using eval, using a plain dict may be a better solution.

Bye,
bearophile

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to