ironpython Questions
3
Solved
I have a script that I want to execute both in Python3.5 and IronPython2.7.
The script is originally written with Python3 in mind, so I have some nested loops similar to the code below :
myIter0 ...
Overlay asked 26/4, 2016 at 14:49
2
Suppose I have a visualization that's trellissed by panel by some categorical variable, with one panel per page. I would like to loop over the panels and export each image to a file, with the filen...
Albuminoid asked 13/6, 2016 at 22:56
2
Solved
i need to translate following C# method to the same IronPhyton method
private void GetTP(string name, out string ter, out int prov)
{
ter = 2;
prov = 1;
}
Aeolic asked 18/5, 2010 at 12:41
1
This is a follow up to https://stackoverflow.com/questions/37684111/ironpython-exe-file-closing-immediately-no-exception-thrown
I figured out that my program is not working once compiled due to an...
Tintinnabulum asked 7/6, 2016 at 17:42
0
I'm writing an application for .NET Core 1.0 and UWP in which I would like to embed a scripting engine to allow end-user scripting (sort of like VBA in Excel).
What scripting options are tec...
Noose asked 27/6, 2016 at 21:23
5
Solved
I have to make a GUI for some testing teams. I have been asked to do it in Python, but when I Google, all I see is about Iron Python.
I also was asked not to use Visual Studio because it is ...
Diversification asked 13/6, 2013 at 7:46
3
I have a "script class" in IronPython, and scripting in my app works by calling methods on its instance. I need to implement calling scripts from multiple threads. What is the correct way to do it?...
Iconoclasm asked 8/6, 2013 at 12:34
1
I aim to connect Python to .NET for a process. I am using IronPython for it.
The part in Python involves some calculations for which I use the Pandas library.
Is there a way to connect IronPytho...
Fumy asked 15/4, 2016 at 8:4
3
i'm using IronPython and i want to create some windows form,
i want to create a windows form with some button, and i want to do this in visual studio with iron python,
i'm using visual studio 2012...
Ventriloquist asked 16/10, 2012 at 1:15
3
Solved
Has anyone tried ASP.NET MVC using IronPython? Having done a lot of Python development recently, it would be nice to continue with the language as I go into a potential ASP.NET MVC project.
I'm es...
Knighthood asked 14/1, 2009 at 3:45
6
Solved
I have an application with multiple usercontrols that are used within certain windows. One of these usercontrols defines whether all other usercontrols in this window should allow editing, hence se...
Ruble asked 1/2, 2016 at 13:54
0
I'm porting a piece of python code that currently uses numpy, to IronPython (the reasons for this have to do with the specifics of the platform I'm scripting in).
Due to incompatibilities of nump...
Reify asked 3/2, 2016 at 11:45
2
Solved
I have a C# class with overloaded static methods like these:
// Added to the Simple class in Tutorial\Extend\csextend.cs
public static int Foo(IEnumerable<int> values)
{
return 1;
}
public...
Bolshevist asked 11/10, 2010 at 16:2
2
Solved
I need to iterate each row, add items to a dictionary, do some sorting and then spit out the results into a data table I need to create on the fly via script.
http://spotfirecommunity.tibco.com/co...
Epicenter asked 27/8, 2014 at 17:4
5
What is the best way to pack up an IronPython application for deployment? After scouring the web the best thing I've come up with (and what I'm currently doing) is using clr.CompileModules() to glu...
Heathcote asked 22/10, 2010 at 17:43
1
Solved
I started writing an application in Python, but I now want to switch to C# and UWP. I know that you cannot write a UWP app in Python, but I am trying to see if I can write some code in Python and a...
Figureground asked 31/10, 2015 at 23:7
1
I am a complete newbie at Python. I wanted to try to see if Pyomo (a Python package for mathematical modeling) could work under IronPython because all my code for generating the data needed for Pyo...
Esmeralda asked 15/7, 2015 at 13:48
3
Solved
Can we load a pandas DataFrame in .NET space using iron python? If not I am thinking of converting pandas df into a csv file and then reading in .net space.
Sandpit asked 21/1, 2013 at 3:21
1
I have a Python script which receives data from a .NET application. How do I use an incoming buffer of type 'System.Collections.Generic.List`1[System.Byte]' in my script?
The function of the scrip...
Uncommitted asked 2/6, 2015 at 3:45
6
I have created a dll using C#. How do use the dll in IronPython. I have tried to add the dll using clr.AddReference("yxz.dll"). But it fails. I have tried placing the dll in the execution directory...
Bracteole asked 29/7, 2009 at 13:16
1
The following code should be executed without stopping the debugger:
var engine = Python.CreateEngine(AppDomain.CurrentDomain);
var source = engine.CreateScriptSourceFromString("Foo.Do()");
var co...
Economize asked 9/6, 2015 at 9:27
3
Solved
I have the following C# code where I call a python script from C#:
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Windows.Forms;
using Syst...
Bashemeth asked 21/5, 2015 at 21:36
1
I have a simple WPF application. Here is the WPF code
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Titl...
Fregger asked 15/5, 2015 at 19:28
2
Solved
I have two python files: mainfile.py and subfile.py
mainfile.py relies on some types in subfile.py.
mainfile.py looks something like this.
from subfile import *
my_variable = [1,2,3,4,5]
def do...
Eggers asked 23/4, 2015 at 13:53
3
Solved
I'm doing the example that can be found here.
So I'm trying to run IronPython in a C# script:
Python:
def hello(name):
print "Hello " + name + "! Welcome to IronPython!"
return
def add(x, y):
...
Genna asked 10/7, 2012 at 15:45
© 2022 - 2024 — McMap. All rights reserved.