Executing python script stored as a string

Ecir Hana ecir.hana at gmail.com
Tue Sep 1 10:55:46 CEST 2009

On Sep 1, 5:31 am, Steven D'Aprano
<ste... at REMOVE.THIS.cybersource.com.au> wrote:

> But are you sure you really want to take this approach? exec is up to ten
> times slower than just executing the code directly.

Oh, you mean because of parsing and compiling? But otherwise it's as
fast as regular python? That's perfectly ok.

Or maybe I misunderstood you - what do you mean by "executing the code

More information about the Python-list mailing list