ironpython Questions
12
I want to know shuffle string
Example string
string word;
//I want to shuffle it
word = "hello"
I would be able to get:
rand == "ohlel"
rand == "lleho"
etc.
Frequency asked 19/1, 2011 at 19:45
2
Solved
I am working with IronPython and have got it working somehow. Though, there seems to be no resource on passing command-line arguments to Iron Python. How can I pass command-line arguments to a pyth...
Upstroke asked 10/5, 2011 at 12:5
3
Solved
I have the following problem:
I got an old application which is written in python. This application allows the user to specify small python steps which will be executed, python steps are basically ...
Metamer asked 17/4, 2014 at 9:12
2
Solved
So far I have a simple class that wraps a python engine (IronPython) for my use. Although code looks big it's really simple so I copy it here to be more clear with my issue.
Here's the code:
publ...
Avalon asked 3/1, 2013 at 13:21
3
Solved
So I tried searching for this answer before coming straight here to ask it. It definitely seems doable to turn an IronPython app/set of scripts into an EXE. The one issue is that they all seem to t...
Polestar asked 18/11, 2011 at 14:48
2
Solved
Am trying to integrate python code in my .net core application for data analysis and some machine learning classification. How can I do this the best way?
Note: I don't want to execute scri...
Trampoline asked 23/8, 2018 at 20:51
10
Solved
I want to access some .NET assemblies written in C# from Python code.
A little research showed I have two choices:
IronPython with .NET interface capability/support built-in
Python with the Pyt...
Diane asked 23/7, 2009 at 0:6
2
Solved
My problem: I have an assembly in 2 versions and want to use them at the same time in my Python project.
The .NET libs are installed in GAC (MSIL), having the same public token:
lib.dll (1.0.0.0)...
Blanks asked 14/7, 2015 at 13:41
1
Solved
I'm using an IronPython script to reset all filters and also set some document propertries. The document property below "FUTUREONLY" is a drop-down property control with 3 possible selections based...
Internment asked 4/4, 2018 at 16:26
1
Solved
I'm developing a windows 10 universal app in VS15 using the new .NETCore reference assemblies and want to reference the IronPython library. Unfortunately, IronPython targets .NETFramework and not ....
Lenzi asked 31/7, 2015 at 19:26
3
Solved
I have the following:
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button3_Click(object sender, EventArgs e)
{
try
{
var strExpression = @"
...
Symposiac asked 16/6, 2010 at 15:56
2
I'm using Visual Studio 2010. I have an IronPython console project and a C# console project. This IronPython script works fine when I run it by itself:
import nltk
def Simple():
baconIpsumFile =...
Recent asked 16/9, 2011 at 15:29
1
I am new to IronPython. Thanks for you help and patience.
I installed IronPython 2.7 from http://ironpython.net/ in Visual Studio 2015.
I also installed Python 2.7.6 and anaconda.
I tried the fol...
Spielman asked 20/9, 2016 at 13:21
1
Im using IronPython on C#.Net 3.5 app with VS 2015.
I read all the post about this Topic, but still get this error. my code:
static void Main(string[] args)
{
var engine = Python.CreateEngine()...
Corneliacornelian asked 17/8, 2017 at 14:22
2
Solved
I'm trying to prototype a validation rules engine using IronPython hosted in a .Net console application. I've stripped the script right down to what I believe is the basics
var engine = Python.Cre...
Tenth asked 17/10, 2014 at 14:11
6
Solved
I have a class library that is usually called from a .net console or web application. It integrates with various components, and relies on an app.config or web.config.
If I want to utilise the cla...
Unruh asked 15/2, 2009 at 11:15
2
Solved
I am trying to execute a Python script that uses Python For .Net (https://github.com/pythonnet/pythonnet) to load a C# library called "Kratos_3.dll" which is in the same folder as the script but th...
Platina asked 3/3, 2015 at 20:0
5
Solved
Given:
def test_to_check_exception_is_thrown(self):
# Arrange
c = Class()
# Act and Assert
self.assertRaises(NameError, c.do_something)
If do_something throws an exception the test passes.
...
Worker asked 14/1, 2010 at 17:38
1
Solved
I'm new at Python, and I'm trying to write my first Python application on Visual Studio CE 2015 using IronPython.
I finally managed to execute the most basic .NET-compatible code importing the clr...
Underprivileged asked 15/6, 2017 at 8:56
0
This is an extension to the question asked at:
How to install numpy and scipy for IronPython 2.7
I have successfully installed both packages and can import both from the command line with ipy.exe...
Treblinka asked 2/2, 2017 at 22:45
0
Question is as title says. Working on a project that requires Sympy, Matplotlib and Tkinter to be imported through IronPython. The code will be run in Rhino, which uses Python 2.7. Is there any way...
Kaykaya asked 20/1, 2017 at 8:24
1
Can someone please explain me this really weird observation?
I've been trying to call Rx extension methods from inside IronPython and it is turning out to be simply impossible. I've boiled it down...
Ava asked 14/1, 2017 at 16:15
1
Solved
I have IronPython installed
My python file looks like this:
import sys
print(sys.version)
import json
The code that runs it:
var p = Python.CreateEngine();
var scope = p.CreateScope();
p.Execu...
Reciprocity asked 27/12, 2016 at 16:0
0
I have no idea, if this is a IronPython issue, a Revit API assembly issue, or something else. Any information/ideas on what could be causing this is appreciated.
I understand this is solvable by r...
Face asked 14/11, 2016 at 0:51
3
Solved
Literally the inverse of this question, is there an easy way to get a .Net DateTime from an IronPython datetime?
Clearly, one could
Output a string and parse it or
Dump all the date parts into a...
Precautious asked 22/4, 2015 at 20:44
© 2022 - 2024 — McMap. All rights reserved.