TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
The exec Statement and A Python Mystery
12 points
by
dcrosta
about 13 years ago
1 comment
comex
about 13 years ago
Collapse
Note also that the behavior changed in Python 3: exec is now a function, and changes to locals made through exec won't show up in the original scope.
评论 #3912694 未加载