Dave Angel wrote: > On 03/11/2013 07:57 PM, Kene Meniru wrote:
> > I hope you're just kidding. execfile() and exec() are two of the most > dangerous mechanisms around. import or __import__() would be much > better, as long as your user hasn't already run myapp.py as his script. > It does what I want. Security is another issue and I understand but can't help it until I find another solution. import does not do what I want. How does __import__() work and what do you mean "as long as your user hasn't already run myapp.py as his script."? -- Kene :::::::::::::::::: kemen...@gmail.com -- http://mail.python.org/mailman/listinfo/python-list