Re: simulating #include in python

2005-11-15 Thread Nick Craig-Wood
Peter Otten <[EMAIL PROTECTED]> wrote: > Nick Craig-Wood wrote: > > > I'd really like to be able to run an __import__ in the context of the file > > thats running the include() but I haven't figured that out. > > execfile()? Yes thats exactly what I was looking for - thank you very much! --

Re: simulating #include in python

2005-11-15 Thread Peter Otten
Nick Craig-Wood wrote: > I'd really like to be able to run an __import__ in the context of the file > thats running the include() but I haven't figured that out. execfile()? Peter -- http://mail.python.org/mailman/listinfo/python-list