Skip to main content

All Questions

Tagged with
2 votes
0 answers
784 views

IronPython every script in single ScriptScope

i have a small problem with my ScriptScope handling. Currently i have a lot of scripts in my database which where used in my application. I execute every script like this: myScriptEngine....
BendEg's user avatar
  • 21.2k
2 votes
1 answer
335 views

IronPython import two enums with the same name

why does IronPython allow, to import two enums with the same name from different namespaces, for example: from System.Windows * from ESS.MS.Framework.UIG.Mask import * Both import the enum ...
BendEg's user avatar
  • 21.2k
1 vote
0 answers
321 views

IronPython 'type' object has no attribute 'NewMode'

I have confusing error with my c# application with is extended with ironpython. The following code-ling: self.Mask.Control.Mode = WindowState.NewMode throw this error: 'type' object has no ...
BendEg's user avatar
  • 21.2k
1 vote
2 answers
912 views

IronPython references and scoping issues

I have an IronPython application that does processing of records for exclusion rules. Essentially, I have a directory structure as such: Lib\ Lib\DBCL\General.py Lib\Exclusions\script.py My program ...
Adam Sears's user avatar
1 vote
0 answers
635 views

Permissions for appdomain to run Ironpython in a sandbox

Hey guys I'm trying to figure out what permissions I need to allow me to run ironpython in an appdomain but deny read and write privileges as well as internet privileges. Here is my IronPython class: ...
Charles Haro's user avatar
  • 1,886
2 votes
1 answer
1k views

How to configure IronPython.StdLib 2.7.3

I am not able to get compiled version of the StdLib to work. I created an empty visual studio project (called StdLib) and using NUGET loaded with the latest (v2.7.3)IronPython.StdLib which creates a ...
user1179784's user avatar
9 votes
3 answers
10k views

Compiling an IronPython code to EXE or DLL

Can I compile an IronPython code to EXE or DLL in a .NET runtime?
Zippo's user avatar
  • 16.5k
2 votes
2 answers
3k views

Running IronPython Script in C# Asynchronously

In C# 4.0 and IronPython 2.6, is it possible to execute a python script in it's own thread? I would like to spawn off the script after passing in some event handler objects so that it can update the ...
Adam Haile's user avatar
  • 31.4k
6 votes
2 answers
2k views

C# / IronPython Interop with shared C# Class Library

I'm trying to use IronPython as an intermediary between a C# GUI and some C# libraries, so that it can be scripted post compile time. I have a Class library DLL that is used by both the GUI and the ...
Adam Haile's user avatar
  • 31.4k
5 votes
1 answer
3k views

C# / IronPython Interop and the "float" data type

Working on a project that uses some IronPython scripts to as plug-ins, that utilize functionality coded in C#. In one of my C# classes, I have a property that is of type: Dictionary<int, float>...
Adam Haile's user avatar
  • 31.4k