Slide wrote:
> Is it best to just Execute("import foo") to make it available then?
Yeah, probably - at least I don't see a better way right now.
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.
On Thu, Oct 28, 2010 at 4:14 PM, Dino Viehland wrote:
> Slide wrote:
>> I have something like the following code:
>>
>> ScriptEngine engine = Python.CreateEngine(); ScriptScope scope =
>> engine.CreateScope();
>>
>> engine.Runtime.LoadAssembly(Assembly.GetExecutingAssembly()); // holds
>> the name
Slide wrote:
> I have something like the following code:
>
> ScriptEngine engine = Python.CreateEngine(); ScriptScope scope =
> engine.CreateScope();
>
> engine.Runtime.LoadAssembly(Assembly.GetExecutingAssembly()); // holds
> the namespace foo
>
> // the following line throws an exception
> eng