idiom for constructor?

Steven Bethard steven.bethard at gmail.com
Sat Jun 4 17:29:25 EDT 2005


Peter Dembinski wrote:
> From the other side: what are the usual uses of 'exec'?

I have to say, I have yet to find a use for it.

My intuition is that the good use cases for 'exec' have something to do 
with writing programs that allow users to interactively script the 
program actions.  But I've never written such a program, so I can't 
speak much about it.

STeVe



More information about the Python-list mailing list