|
Accessing COM function return data in IronPython
Hello IronPython community: I am trying to use COM API for a program which exposes a function using the following function prototype. com_obj_function(BSTR inpstr1, [out] SAFEARRAY ** outlist1) When I
Hello IronPython community: I am trying to use COM API for a program which exposes a function using the following function prototype. com_obj_function(BSTR inpstr1, [out] SAFEARRAY ** outlist1) When I
|
By sampath.vanimisetti@...
·
|
|
Set a timeout for a python script 2 messages
I am now trying to run python codes from user input in a .netcore project on Linux(Debian). However, something like a dead loop may use up too much resource. I wonder if I can abort oprations that cos
I am now trying to run python codes from user input in a .netcore project on Linux(Debian). However, something like a dead loop may use up too much resource. I wonder if I can abort oprations that cos
|
By 邓 君卓
·
|
|
How to redirect process output to WinForm textbox in real-time? 2 messages
Hello all, I am trying to run a python3 script with .NET Process class. The python3 script runs slow and prints progress along the way, so I’d like to redirect the process prints to a WinFrom textbox.
Hello all, I am trying to run a python3 script with .NET Process class. The python3 script runs slow and prints progress along the way, so I’d like to redirect the process prints to a WinFrom textbox.
|
By Hailiang Shen
·
|
|
Inconsistent return values 3 messages
Hi, I'm relatively new to ironpython and trying to understand my options for returning values back to my C# app. Can someone explain why option 1 returns fine, but option 2 returns null. Trying to all
Hi, I'm relatively new to ironpython and trying to understand my options for returning values back to my C# app. Can someone explain why option 1 returns fine, but option 2 returns null. Trying to all
|
By ddelapasse@...
·
|
|
How to reset and clear Ironpython Console?
It seems that there is no command to reset console to initial state, clear the content and leave history intact. Is there any way to do that ? or programmatically to do that?
It seems that there is no command to reset console to initial state, clear the content and leave history intact. Is there any way to do that ? or programmatically to do that?
|
By Henry Li
·
|
|
How to clear and reset IronPython Console? is there any way to clear ScriptScope?
Is there way to clear or reset Console like IPython? It seems command of clear or reset doesn't work. Or how to reset ScriptScope or Engine? I've created a console and set initial state, I expect that
Is there way to clear or reset Console like IPython? It seems command of clear or reset doesn't work. Or how to reset ScriptScope or Engine? I've created a console and set initial state, I expect that
|
By Henry Li
·
|
|
I can't import random module 9 messages
I would like to run a code like this: import random def runScript(): foo = ['a', 'b', 'c', 'd', 'e'] print(random.choice(foo)) But I have this error: "no module named random"
I would like to run a code like this: import random def runScript(): foo = ['a', 'b', 'c', 'd', 'e'] print(random.choice(foo)) But I have this error: "no module named random"
|
By javierfernandezc@...
·
|
|
Threading 2 messages
Hello all, could I get your help in understanding the IronPython threading module, specifically: is it different from the .NET System.Thread class e.g. in implementation and performance? with the Iron
Hello all, could I get your help in understanding the IronPython threading module, specifically: is it different from the .NET System.Thread class e.g. in implementation and performance? with the Iron
|
By Hailiang Shen
·
|
|
Having hard time passing VARIANT* input Parameter to a COM object.
Hello, This was probably answered several times, and I checked almost every documentation available online, and stackOverflow, and nothing seems to work. At my company, we are using an internal tool,
Hello, This was probably answered several times, and I checked almost every documentation available online, and stackOverflow, and nothing seems to work. At my company, we are using an internal tool,
|
By shkshk90+ironpython@...
·
|
|
Print a float value 4 messages
Hello all, could anyone help me understand printing float values? E.g. print (7.0/3) will output 2.33333333333 print (7/3.0, 7.0/3) will output (2.3333333333333335, 2.3333333333333335) I am not sure w
Hello all, could anyone help me understand printing float values? E.g. print (7.0/3) will output 2.33333333333 print (7/3.0, 7.0/3) will output (2.3333333333333335, 2.3333333333333335) I am not sure w
|
By Hailiang Shen
·
|
|
Release date / Roadmap of IronPython 3 2 messages
What is the current estimated release date of IronPython 3 or what is the roadmap?
What is the current estimated release date of IronPython 3 or what is the roadmap?
|
By steskalj@...
·
|
|
Screen fills with ^@^@^@^@^@^@.... when running inside emacs 2 messages
Hey there, been trying to track down and troubleshoot this behaviour. I'm using Kubuntu 19.10. I created a script to start mono: #!/bin/bash mono ipy.exe To run ironpython as a single command for emac
Hey there, been trying to track down and troubleshoot this behaviour. I'm using Kubuntu 19.10. I created a script to start mono: #!/bin/bash mono ipy.exe To run ironpython as a single command for emac
|
By intertricity@...
·
|
|
IronPython with Anaconda 3.7 2 messages
Hello everyone, For past few days I am trying to integrate python script into C# application using IronPython. I have Anaconda 3.7.4 installed on the machine. I have added IronPython 2.7.9 as a refere
Hello everyone, For past few days I am trying to integrate python script into C# application using IronPython. I have Anaconda 3.7.4 installed on the machine. I have added IronPython 2.7.9 as a refere
|
By Ajay Kumar Wahi
·
|
|
Copy/Deepcopy C# lists 2 messages
Is there a way to copy C# typed lists that I'm missing? Currently, the builtin copy/deepcopy fails, but I can workaround it by moving the items to a python list, deepcopying it and casting it back. Co
Is there a way to copy C# typed lists that I'm missing? Currently, the builtin copy/deepcopy fails, but I can workaround it by moving the items to a python list, deepcopying it and casting it back. Co
|
By christoph.neyer@...
·
|
|
How to support .NET class slicing using python syntax 2 messages
Dear all, as far as I know there is still no equivalent numpy lib available to IronPython. Please correct me if this is not the case anymore. We have a few scripts that require numpy lib (using very b
Dear all, as far as I know there is still no equivalent numpy lib available to IronPython. Please correct me if this is not the case anymore. We have a few scripts that require numpy lib (using very b
|
By Hailiang Shen
·
|
|
IronPython 3 status 2 messages
Dear development team, I understand IronPython 3 is still on the way. Is there a rough date when it will be available, considering python 2 will be retired first day of 2020 (3 months and 15 days away
Dear development team, I understand IronPython 3 is still on the way. Is there a rough date when it will be available, considering python 2 will be retired first day of 2020 (3 months and 15 days away
|
By Hailiang Shen
·
|
|
How to fetch an image from python to C# using Iron python 2.7
Hi, I am trying to use deep learning model for computer vision for gaming environment, the issue is, passing the image from c# to python is a bit slow, is there any a solution to make this process fas
Hi, I am trying to use deep learning model for computer vision for gaming environment, the issue is, passing the image from c# to python is a bit slow, is there any a solution to make this process fas
|
By usmankaiz@...
·
|
|
Speech Recognition inside Grasshopper for Rhino 2 messages
Hey everyone, I was hoping to maybe get some pointers. I’m trying to implement speech recognition using python inside rhino\grasshopper, which in turn relies on IronPython (2.7.8) as its platform. So
Hey everyone, I was hoping to maybe get some pointers. I’m trying to implement speech recognition using python inside rhino\grasshopper, which in turn relies on IronPython (2.7.8) as its platform. So
|
By
psf@...
·
|
|
How to support debug in IronPython in .NET software 2 messages
Hello all, our .NET program supports IronPython scripting. We are trying to support debugging (e.g. set break point, step into, step over, run to breakpoint). A script can get/set data in the .NET pro
Hello all, our .NET program supports IronPython scripting. We are trying to support debugging (e.g. set break point, step into, step over, run to breakpoint). A script can get/set data in the .NET pro
|
By Hailiang Shen
·
|
|
How to define a c# class to support IronPython power operator ** 3 messages
Hello all, I am defining a C# assembly to be used in IronPython. For one C# class, I need to support the IronPython power operator (**). For example in IronPython MyClass1 ** 3 will automatically call
Hello all, I am defining a C# assembly to be used in IronPython. For one C# class, I need to support the IronPython power operator (**). For example in IronPython MyClass1 ** 3 will automatically call
|
By Hailiang Shen
·
|