Looking further into this, it appears that __name__ is always set to <module>. This is the behavior while trying to just use:
<div><br></div><div>Dictionary&lt;string, object&gt; options = new Dictionary&lt;string, object&gt;();</div><div>ScriptEngine se = Python.CreateEngine();</div><div>Console.WriteLine(se.Execute&lt;string&gt;(&quot;__name__&quot;));</div>
<div><br></div><div>~Jonathan</div>