ironpython Questions
2
Solved
For instance, in C# (starting with v6) I can say:
mass = (vehicle?.Mass / 10) ?? 150;
to set mass to a tenth of the vehicle's mass if there is a vehicle, but 150 if the vehicle is null (or has a...
Tronna asked 16/9, 2016 at 15:16
10
Solved
This sort of question has been asked before in varying degrees, but I feel it has not been answered in a concise way and so I ask it again.
I want to run a script in Python. Let's say it's this:
...
Delmydeloach asked 2/8, 2012 at 14:5
5
Anyone can share a working example on how to call a simple C# library (actually its WPF) from python code? (I have tried using IronPython and had too much trouble with unsupported CPython library m...
Deforce asked 9/9, 2011 at 22:10
10
Solved
Does beautiful soup work with iron python?
If so with which version of iron python?
How easy is it to distribute a windows desktop app on .net 2.0 using iron python (mostly c# calling some python c...
Benedict asked 23/9, 2008 at 1:37
4
Am trying to use clr.AddReference and clr.AddReferenceToFile to import an assembly, but python(2.7) keeps making this error:
Traceback (most recent call last):
File "<pyshell#5>", line 1, ...
Shirker asked 20/12, 2017 at 19:26
18
Solved
What's the simplest way to do a find and replace for a given input string, say abc, and replace with another string, say XYZ in file /tmp/file.txt?
I am writing an app and using IronPython to execu...
Masse asked 8/2, 2009 at 11:57
1
I want to run a python script in C# using IronPython. It works fine except IronPython is using my base Python installation instead of the Anaconda environment.
I've tried running the script with ...
Orianna asked 29/5, 2019 at 10:55
2
Solved
I have a ton of training data I need annotated, in order to do so I need to listen through a bunch of sound snippets and note what I hear. I wrote a small script for this in a notebook.
My main is...
Jannelle asked 29/1, 2019 at 9:21
3
Solved
I have a C# application that stores python script files (*.py) as strings. I load them using:
scriptEngine.CreateScriptSourceFromString(code);
But now I have multiple script files with dependenc...
Casia asked 27/11, 2015 at 11:13
2
I have found the old answer to this question, but the instructions provided in the mentioned post are no longer working... Essentially the URL where NumPy for IronPython was stored is broken.
How t...
Bamberg asked 22/6, 2017 at 23:29
3
Solved
I need some help finding a solution to a memory leak I'm having. I have a C# application (.NET v3.5) that allows a user to run IronPython scripts for testing purposes. The scripts may load differen...
Thrash asked 3/11, 2009 at 0:31
3
Solved
Yes, I know about IronPython 3 compatibility, but that is from two years ago. I was searching on the internet but couldn't find any information on this that is up-to-date.
So does IronPython suppo...
Aguila asked 14/8, 2013 at 19:49
3
Solved
I'm currently working on an application written in C#, which I'm embedding IronPython in. I generally have no problems about it, but there's one thing that I don't know how to deal with.
I want t...
Cressy asked 3/9, 2009 at 7:50
12
Solved
When I call a Powershell script, how can I keep the called script from closing its command window. I'm getting an error and I'm sure I can fix it if I could just read the error.
I have a Powershel...
Burd asked 26/8, 2009 at 20:21
3
Solved
As a learning exercise I'm writing myself a simple extension / plugin / macro framework using IronPython - I've gotten the basics working but I'd like to add some basic debugging support to make my...
Ayo asked 22/3, 2010 at 15:38
1
We've been using IronPython for a number of years as a scripting tool within some of our .Net desktop applications. Customers have been asking when we will support Python 3, but it looks like IronP...
Caines asked 3/12, 2020 at 10:28
3
Solved
Steps to the Reproduce:
Open Visual Studio 2017 (Pro on Windows 10 64-bit)
File > New Project > IronPython Application
Run the default program: print('Hello world')
When I run it, I get the fol...
Pedestal asked 4/9, 2017 at 23:31
2
How to use Python in .NET-Core application? I need this for the purposes of Hackathon so the solution don't have to be 'elegant'. I've read that it's impassible to run Python scripts directly becau...
Forename asked 9/12, 2016 at 16:35
3
Solved
I'm trying to do a simple hello world to test out embedding IronPython within C# but can't seem to resolve this problem..
This is my C# file;
using System;
using IronPython.Hosting;
using Microso...
Menfolk asked 1/10, 2012 at 17:51
3
Solved
Is there a way to call Python code, using IronPython I assume, from C#? If so, how?
Liederman asked 13/8, 2011 at 20:46
3
Is there a way to suppress, stop or, otherwise, control the settings for, or display of, background tasks in PyCharm? Selecting the IronPython interpreter causes it to update skeletons (seemingly) ...
Scissor asked 17/10, 2011 at 19:35
1
I want to integrate Python with C#. I found two approaches using Interprocess communication and IronPython
Interprocess communication requires Python.exe to be installed on all client machines so ...
Petrous asked 4/9, 2019 at 9:36
5
Solved
I think this is the most popular way to do it before:
https://pytools.codeplex.com/wikipage?title=NumPy%20and%20SciPy%20for%20.Net
But this link is no longer exist:
https://store.enthought.com/r...
Blouse asked 1/4, 2015 at 17:54
5
Solved
Is it possible to productionize Python code in a .NET/C# environment without installing Python and without converting the Python code to C#, i.e. just deploy the code as is?
I know installing the ...
Rodd asked 24/6, 2019 at 20:31
9
Solved
I need to build a scripting interface for my C# program that does system level testing of embedded firmware.
My application contains libraries to fully interact with the devices. There are separat...
Portiaportico asked 24/8, 2009 at 21:36
1 Next >
© 2022 - 2024 — McMap. All rights reserved.