some questions....

Duncan Booth duncan at rcp.co.uk
Tue Nov 26 04:44:03 EST 2002


eugene kim <eugene1977 at hotmail.com> wrote in news:arumtk$pqa$1
@newsreader.mailgate.org:

> wow.. i thought python is easy to learn..
> but there are lot's of corks..
> namespace, scoping rule, exec, eval..
> all confuses me..
> 
Simple rule: forget that exec and eval exist. You almost certainly 
don't need to use them. If you think you need either exec or eval then 
post here saying why you want to use them and 9 times out of 10 
someone will tell you a simpler and cleaner way to do whatever it was.



More information about the Python-list mailing list