Python documentation problem

Brian van den Broek bvande at po-box.mcgill.ca
Sat Jun 18 10:21:36 CEST 2005


Xah Lee said unto the world upon 18/06/2005 04:11:
> i wanted to find out if Python supports eval. e.g.
> 
> somecode='3+4'
> print eval(somecode) # prints 7
> 
> in the 14 hundred pages of python doc, where am i supposed to find this
> info?
> 
>  Xah
>  xah at xahlee.org
>http://xahlee.org/
> 

<http://www.python.org/doc/current/lib/built-in-funcs.html#l2h-23>
which I got to from 
<http://starship.python.net/crew/theller/pyhelp.cgi?keyword=eval&version=current>
in less time that in took to type this.

Best,

Brian vdB




More information about the Python-list mailing list