from spam import eggs, spam at runtime, how?

Aahz aahz at
Mon Dec 8 21:48:45 CET 2003

In article <7xhe0bf5id.fsf at>,
Paul Rubin  <> wrote:
>Another way:   
>  exec 'import spam'

That's precisely what we were trying to avoid.
Aahz (aahz at           <*>

Weinberg's Second Law: If builders built buildings the way programmers wrote 
programs, then the first woodpecker that came along would destroy civilization.

More information about the Python-list mailing list