[Tutor] scope/namespaces

ammar azif ceasar102 at yahoo.com
Tue Apr 24 09:45:13 CEST 2007


Something in python disturbs me ,

when i write a for loop,

i am able to access the variable declared in that loop after the loop finishes which i am not able to do in languages like c/c++ or java. Is it different in python?

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070424/c5633aa8/attachment.html 


More information about the Tutor mailing list