try except inside exec

Michele Petrazzo michele.petrazz at
Sun May 31 03:51:53 EDT 2009

Emile van Sebille wrote:
> Write the string out to a .py file and import it?

I don't think that it's possible. I want to create an env that are
accessible only from that peace of code and not from the code that
"execute" the third-party one.

> Emile


More information about the Python-list mailing list