Skip to main content

All Questions

Tagged with
0 votes
0 answers
265 views

IronPython v Python 3.11 - Importing .dll Libraries in Python 3.11

I am having an issue importing a .dll library in Python 3.11. For IronPython, the import is successfull and looks as follows (example is for using the API of a structural analysis package called Robot ...
Björn Steinhagen's user avatar
0 votes
1 answer
916 views

Using Visual Studio Debugger with IronPython

I am currently in the dilemma of trying to attach the debugger of Visual studio to a IronPython process. I have a c# dll that i reference and use in a python scripts, via Ironpython (import clr). In ...
Jannik SW's user avatar
0 votes
1 answer
459 views

MetaTrader and Python integration using nquotes

enter image description here - I have a completed installation of meta trader 4 and nquotes but I can 't run any python file I follow this tutorial: http://www.nquotes.net/docs/metatrader-with-...
Darpan Trivedi's user avatar
0 votes
0 answers
127 views

Can We Execute pywinauto script file from ironpython

I have a python script (a.py) which uses pywinauto.application. I am running c# code (ironpython) to execute the above file py.ExecuteFile("Path for b.py"); but i am getting an exception No ...
MS. Rajesh's user avatar
1 vote
1 answer
573 views

An unhandled exception of type 'Microsoft.Scripting.SyntaxErrorException' occurred in Microsoft.Dynamic.dll unexpected token 'part'

I am trying to run python script from c# using Ironpython but I get error like in title. Here's the code part. It fails while importing in python c# var engine = Python....
PostarLakogSna's user avatar
1 vote
1 answer
4k views

How do I call Python scripts with packages from IronPython?

How would I come to implementing a Python script that requires external modules (such as BeautifulSoup4 and requests) in my C# project? I want to call a function in the Python script but it keeps ...
Brandon's user avatar
  • 63
1 vote
1 answer
4k views

Calling Python script from Winform C# Application

I want to call a Python script from my winform C# application. I checked for some solutions and followed following approaches. One using Inter-Process communication and one using IronPython Approach ...
Siddharth's user avatar
  • 456
2 votes
1 answer
16k views

Windows Forms in Visual Studio with Python

Steps to reproduce: I created a new project in Visual Studio Selected Python > Desktop > "IronPython Windows Forms Application" However, as soon as I open the project I encountered several errors ...
user1746636's user avatar
3 votes
1 answer
4k views

setup ironpython: Module not found

I'm using Ironpython for the first time to Import a Python Script to C#. I get the error "No module named numpy", but I don't know why. I read that I have to add my path of my modules to my python ...
csi's user avatar
  • 240
0 votes
0 answers
152 views

Is there a way to call a python script, which modifies an xml using ElementTree, from c# code?

I have a implemented a python script which modifies a local xml file by getting values from another local xml file, using ElementTree. I need to implement a GUI for the entire thing. So, I chose ...
Shahrukh Uddin's user avatar
1 vote
0 answers
163 views

Instantiating a python 3.6 class in C#

I'm trying to find a way to create an instance of a Python class in C# I came across IronPython and this question: Instantiating a python class in C# However, looking closely it seems it's only ...
Shtut's user avatar
  • 1,407
0 votes
0 answers
375 views

Python3, OpenCV and C#

I'd like to port my current python3 project with the use of opencv, numpy to Windows and integrated with C# projects. However, I found that IronPython only supports up to Python2. A few issues: What ...
user6539552's user avatar
  • 1,471
1 vote
0 answers
70 views

Passing an argument to a function of class from C# using ironpython.

NET programming and I don't know how to pass an argument from .NET to a class function in python script supported by ironpython Here is my .cs script. using System; using System.Collections.Generic; ...
Abraham Jose's user avatar
0 votes
0 answers
663 views

how to import python 3 libraries in iron python

I am trying to call a python script on a button click of an exe built with C#. I installed the following dll's using System.Windows.Forms; using IronPython.Hosting; using Microsoft.Scripting.Hosting;...
Pyd's user avatar
  • 6,169
3 votes
1 answer
2k views

How to install IronPython 3 on Windows 10, to be used by Visual Studio VB.NET app?

How can I get Iron Python 3 installed on Windows 10 so that my Visual Studio 2017 pro shows it in its Tools Menu > Python > Python Environments? I easily installed Iron Python 2 from http://...
Doug Null's user avatar
  • 8,357

15 30 50 per page