<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Lucida Console"><small><small>Salut, fellow coders!<br>
<br>
I have an application where i need some live coding to debug
and use it. I've been coding in C# for ages now.<br>
<br>
I looked into different languages, and found python. And
obviously fell in love.<br>
Now i have a home-made interactive python console with my
application. I implemented suggestions with dir() and so on.<br>
<br>
tldr:<br>
The problem im facing is that I need to integrate whole
application with the console now. I know I can expose types
and variables thru scope.SetVariable but what I need is to
expose a whole <i>namespace</i> to the scope.<br>
<br>
Any help would be appreciated.<br>
<br>
P.S. How fast is interop between python and C#? Would it be ok
to have a python function as dynamic in C# and calling it
about 250 times a second?<br>
<br>
Thanks,<br>
Iivari Mokelainen<br>
</small></small></font>
</body>
</html>