-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 20.10.2012 13:49, info@gno.de wrote:
data = eval(p.get())
...may be it's safer to use the json module instead of a plain (and powerful! ;) 'eval' in several places:
import json data = json.loads(p.get())
or at least the secured ast eval:
import ast data = ast.literal_eval(p.get())
Any other optinions on this?
Thanks and greetings DrTrigon