convert a string to tuple

Peter Hansen peter at engcorp.com
Tue May 31 17:55:38 EDT 2005


Steven Bethard wrote:
> 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. =)

Why not, Steven?  I just tried it and my compu



More information about the Python-list mailing list