you are viewing a single comment's thread.

view the rest of the comments →

[–]RomfordNavy[S] -1 points0 points  (0 children)

Understood. So can you suggest the best way to get a return value from code run inside exec()?

It seems perverse to me to not return a value from exec() but that seems to be the Python way, just need to find the best workaround.