get return or locals from "exec" str in "environment"

Chris Angelico rosuav at gmail.com
Thu Aug 30 18:19:12 EDT 2012


On Fri, Aug 31, 2012 at 8:11 AM, lucas <sjlukacs at gmail.com> wrote:
> and i can see my executed function in there as a type function, and local and global vars, but i can not access or find "harry" or "rtn" the variables within the function lucas53.  i do not know how to access the local variables within lucas53 or the locals to find harry or rtn.  i really just want the return dictionary.  make sense?

Far as I can see, you never actually called that function anywhere.

ChrisA



More information about the Python-list mailing list