2,614 questions
2
votes
1
answer
100
views
Calling the Remove() method on a Newtonsoft.Json.Linq.JObject in IronPython app throws a ' NoneType is not callable' error
When debugging ironpython app in Visual Studio, I have confirmed the JObject's instance extendObj is not null, why does the extendObj.Remove method throw the error? in the 'Watch 1' window i can ...
1
vote
1
answer
98
views
Spotfire toggle shuffles back to left while navigating to different page
I'm encountering an issue with a toggle switch embedded inside a text area that allows users to switch between viewing the top 15 and bottom 15 sales on a bar chart. The logic for toggling between ...
0
votes
1
answer
70
views
Is there a way to get Revit Python Shell not to buffer the print statement?
Is there a way to get Revit Python Shell not to buffer the print statement?
For example, with this code, it is clear to see that RPS will not show anything on the screen until after the loop has ...
0
votes
0
answers
101
views
How do I include the os module with IronPython 3.4 in my C# project, and also run a script? [duplicate]
I am attempting to use IronPython 3.4 with my C# / .NET MAUI project. As IronPython 3.4 is pretty new, I am not sure if there is much support for it yet.
As a part of experimentation, I am attempting ...
1
vote
2
answers
57
views
How can i understand what is running IronPython or Python?
With what command inside code can I understand that IronPython or Python is running?
-1
votes
1
answer
82
views
When i run inversetest.py in wpf app, I get error on predict model
When I run python code in c#, I get error on line of predict model but it run in python well. I used any way such as python.net, ironPython, Process,... but it did not work:
private void ...
0
votes
0
answers
30
views
What files does IronPython require in the C:\Python27 folder?
We use IronPython 2.7 in a desktop app, which is used to programmatically run simple Python scripts which might import standard modules like 'sys', 'time', and so on. It retrieves these from the C:\...
1
vote
1
answer
39
views
Given a font and a specific character, is there a way to tell which subrange the character belongs to?
I need to determine if a given character in a given font belongs to a given subrange. For example, U+0041 according to Windows Character Map app belongs to the Latin Subrange. Is there a way to get ...
0
votes
1
answer
122
views
Embedded IronPython debugging with breakpoints
Our codebase is written mostly in C# with some scripting capabilities using IronPython 3.4. Until recently we based the project on the outdated .Net Framework 4.8 but made the move to .Net 8 recently.
...
0
votes
0
answers
94
views
Using ironpython from C# async-await causes the app to hang
From C# we have to call python function, in this case the nltk lib lemmatize function (which still has no good C# implementation). We call it like this:
private string Lemmatize(string word)
{
using (...
0
votes
1
answer
200
views
How do I add IronPython Interpreter in PyCharm?
I'm working with some API's that require IronPython and I use JetBrains' Pycharm to code. The only problem is that, after formatting my PC, I can't add the IronPython 3.4 interpreter to it.
I tried ...
0
votes
1
answer
85
views
How to use iopen pyxl in C#?
Im creating a Windows Forms Project based on C# using python scripts. But when click the button, which should start a python script i have an error "No module named 'openpyxl'"
private void ...
0
votes
1
answer
92
views
Creating a winform ironpython 3 Project in VSCode Community 2019
I have no clue what i am doing wrong
I have ironpython and winforms installed and vscode sees both
I don't have any options for IronPython Project when creating a new project, what can i do to have ...
0
votes
0
answers
44
views
Unhandled exception: When importing my Deep learning python code on C#
Heads Up:
I am using Visual Studio 2022
My python code consists of a machine learning model which is getting trained. So it has python libraries imported within the Python code (Ex: Import numpy as ...
0
votes
1
answer
351
views
spotfire ironpython : undo add rows / undo replace values
I'm working on a spotfire script to build up a data table row by row from a data table each time I press a button. At the same time I'm replacing values in the data table. The newly generated table is ...