embedding python in python
Maurice LING
mauriceling at acm.org
Wed Sep 29 19:12:37 EDT 2004
Lonnie Princehouse wrote:
> Maurice LING <mauriceling at acm.org> wrote in message news:<415a7f0b$1 at news.unimelb.edu.au>...
>
>>Hi,
>>
>>anyone had any experiences in embedding python in python?
>>
>>I've tried to do this but it doesn't work.
>>
>>eval("from Tkinter import *")
>>
>>Thanks
>>maurice
>
>
> You need exec for statements:
>
> exec("from Tkinter import *")
Thank you.
More information about the Python-list
mailing list