[EMAIL PROTECTED] wrote:
> Pass it to eval:
> 
>>>>eval('(1, 2, 3, 4, 5)')
> (1, 2, 3, 4, 5)

Just be sure you know where your strings come from.  You wouldn't want 
someone to pass you
     """__import__('os').system('rm -rf /')"""
and then send that to eval. =)

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

Reply via email to