[IronPython] Can I pre-add namespaces?
Marty.Nelson at symyx.com
Fri Oct 10 13:01:31 PDT 2008
I know I can load assemblies into the script runtime, but how can I add
the imports into the scope programmatically? I'm trying to avoid
forcing people to write things like "imports System" for scripts.
Microsoft.Scripting.Actions.NamespaceTracker seems to be involved, but
it isn't there till after the scope executes for the first time and it
has no public contructor.
Notice: This e-mail message, together with any attachments, contains
information of Symyx Technologies, Inc. or any of its affiliates or
subsidiaries that may be confidential, proprietary, copyrighted,
privileged and/or protected work product, and is meant solely for
the intended recipient. If you are not the intended recipient, and
have received this message in error, please contact the sender
immediately, permanently delete the original and any copies of this
email and any attachments thereto.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users