Click here to Skip to main content
15,879,095 members
Everything / Programming Languages / IronPython

IronPython

IronPython

Great Reads

by Uladzislau Baryshchyk
An overview of Dynamic Language Runtime DLR in C#
by Dev Leader
With this post, we’re still just scratching the surface of what’s doable when integrating Python and C#.
by Member 12032084
.dll for making the FTP management with VB.NET easier
by John D. Cook
Code for computing normal probabilities and a discussion of what does and does work in IronPython

Latest Articles

by Uladzislau Baryshchyk
An overview of Dynamic Language Runtime DLR in C#
by Yosry Negm
Introduce a simplified clarification about the main steps for performing statistical learning or building machine learning model
by ashish__shukla
What is Python? Python is a general purpose,interpreted and high-level programming language.It is object-oriented and dynamically typed programming language.Dynamically typed means that variables are not required to be declared before using them.Instead you directly assign value to a variable.
by Iqra Ali
This article will cover some very less common and highly used Robot Framework and Ipy command to follow within your Jenkins job.

All Articles

Sort by Score

IronPython 

30 Jan 2022 by Uladzislau Baryshchyk
An overview of Dynamic Language Runtime DLR in C#
1 Oct 2013 by Dev Leader
With this post, we’re still just scratching the surface of what’s doable when integrating Python and C#.
4 Oct 2015 by Member 12032084
.dll for making the FTP management with VB.NET easier
26 Jun 2014 by John D. Cook
Code for computing normal probabilities and a discussion of what does and does work in IronPython
7 Apr 2014 by Dev Leader
IronPython: A quick WinForms introduction
14 May 2020 by Yosry Negm
Introduce a simplified clarification about the main steps for performing statistical learning or building machine learning model
24 Jul 2011 by thatraja
Start with this The IronPython Cookbook[^]
27 Dec 2011 by Wendelius
If by attaching you mean how to attach a database to an existing SQL Server instance, see http://www.connectionstrings.com/sql-server-2008[^] and "Attach a database file on connect to a local SQL Server Express instance".Note that this only works with SQL Server Express Edition.
10 Jul 2013 by Brian Herbert
An intro to IronPython.
14 Jan 2015 by Richard MacCutchan
In your main file you have an import that renames your type:import My_H as my_hsomewhere else you get the error:MissingMemberException was unhandled - LightException object has no attribute My_HSo you have declared your import as my_h but referred to it as My_H , which is...
18 Jan 2015 by smoula99
I was hopeless, but I found solution for my second exeption in (VS 2013 Python + PTVS 2.1 VS 2013.msi + IronPython 2.7.5)Solution was very easy on this sitehttps://github.com/IronLanguages/ironclad/wiki/building(only copy two file - then parser working)$ copy...
10 Mar 2016 by Jochen Arndt
This can't be simply converted to Python because it uses the C# GrammarBuilder Class (Microsoft.Speech.Recognition)[^]. So you have to look if there is some Python library providing similar functionality using the Speech Recognition Grammar Specification Version 1.0[^].But this requires...
14 Aug 2018 by Iqra Ali
This article will cover some very less common and highly used Robot Framework and Ipy command to follow within your Jenkins job.
9 Jun 2023 by Andre Oosthuizen
It is possible to run the script without having an environment installed on your users machine. You will however still need some libraries installed, so the answer to your question is yes and no - These links should point you in the right...
28 Apr 2011 by jscoles
I had a similar issue and found a workaround by putting appending the directory with the imported module to the path.i.e. sys.path.append(r'c:\python\mylibrary')I had to do this even if the directory was the same directory that the main script file lived in.I also found that the...
26 Oct 2011 by Member 7250221
Hi,I am writing a python script in .net 4.0 and i want to connect to a postgre sql database. I found online that i need to install psycopg2 before i can connect. Can anybody help me with this because i have downloaded and done the installation but I cant find any dll to import into...
14 Nov 2011 by shijuse
Hi http://blogs.msdn.com/b/charlie/archive/2009/10/25/hosting-ironpython-in-a-c-4-0-program.aspx[^]
22 Nov 2011 by Pete O'Hanlon
At the end of the setvibration line, you don't have a semi colon. You need to add one so that it looks like the following:if (yourmum = buttonState.pressed) setvibration(playerindex.me,1,69); // This line needs the semi colon,.else { redIntensity++; }Next, you terminate the...
27 Nov 2011 by Member 7250221
I used a dll called Npgsql. it allows you to connect freely from .NET to postgre sql database.
27 Dec 2011 by samfisher593
hi.how i can make auto-attach for attach my sql db to my appliation when i'm install it in other system.(sql server 2008 and vb.net 2008)thanks.
22 Nov 2012 by bhavesh002
Is it possible to use sqlobject to connect to a mysql database from iron python? If so, how? What must I install?I have sqlobject installed for cpython and it works fine, but if I use that same package in ironpython I get "ImportError: No module named _mysql".I understand this to...
22 Jul 2013 by ashu2188
Hi,I am using Ironpython with C#I wrote below code to access test.py script file which will process the input and return the output. But I don't know how can I pass the parameter in it? Anyone familiar with C#, Ironpython, kindly respond.ScriptEngine pyEngine =...
22 Jul 2013 by Prasad Khandekar
Hello Ashu,Please have a look at this[^] tutorial.Basically you need to use createScope method to create the scope within which the script is going to run and then set the variables (scope.SetVariable(Key, Value)) you want to pass to the script in it. The script can refer to these...
5 Feb 2014 by Member 10575919
i try but not working only backword image is changing not the text so plz help me.....
6 Feb 2014 by Shahid abbasi
Please follow following URLsfor any query feel free to ask1. http://code.google.com/p/slideshow/wiki/Slideshow2. http://www.webmonkey.com/2010/02/make_a_javascript_slideshow[^]Regards:Shahid Hussain Abbasi
17 Mar 2015 by Member 11525381
I'm using VS 2013 with PTVS and I want to get the values of the selected line in my datagrid. But I'm beginner for python and WPF so I'm getting some trouble, so my datagrid:
13 Oct 2015 by EvgetH
I use IronPython 2.7.5.0, I want to use this tool to create a compiler, First I have some problem to get the outPut info from IronPython. Could someone give me some help ?using System;using System.Windows;using IronPython.Hosting;namespace WpfApplication3{ public partial...
8 Nov 2015 by EvgetH
I'm working on a project in which I am creating a IronPython compiler depend on IronPython , But I have some problem on debugging the Script and can use breakpoint ? could you please give me some help ? thanks.public ScriptEngine GetEngine() { if (_engine != null) ...
8 Nov 2015 by Richard MacCutchan
You would probably get an answer quicker at https://ironpython.codeplex.com/documentation[^].
28 Apr 2016 by Hiteshforu2007
Hello,I have an ASP.Net website and I am trying to write automation test cases for it in IronPython.I have already done the following setupInstalled IronPython, elementtree, robot framework and Python tools for Visual Studio.Now I am stuck at a point where I don't know where to...
24 Sep 2016 by Luiey Ichigo
Hi,All script/code is made on Visual Studio 2015. I have 3 kind of linked situation.1. I need to access a SOAP WSDL. So, I create new python application on VS2015 and write the script to consume from WSDL and send to Azure cloud. All module can be installed using pip. But there is one...
29 Oct 2016 by OriginalGriff
Find a tattoo site and ask there.This is a software development site and we are not body modification experts.Or talk to the tattooist / your doctor / emergency medical people.
25 Dec 2016 by pgshsf
Hello All,I'm currently trying to integrate python script in c#. Goal of this script is to parse the xml data. I have given my code below. So whenever I run the project I get below error:Error:No module named xml.parsers.expatThe error will be same if I use...
14 Jul 2017 by Member 13310574
New to programming :/ inside a software I have a value associated to a key. There are sometimes different variations of that key used (e.g., lens left, left lens, Lens_L, etc.). I use a script to evaluate that value associated with that key but have been hard coding each possible variation. ...
26 Jun 2020 by Mohammad Tavoosi
I want to execute a python script in my C# project The python script has some imported modules. I use ironpython library in my c# project and set the python modules path for it but it does not work and gives me an invalid syntax error;However,...
26 Jun 2020 by Garth J Lancaster
1) ok, you've verified that your Python Script works 'standalone' - tick, good 2) You haven't said what version of IronPython you're using - If I have it correct, the latest version of IronPython only implements Python 2.7 3) Following from 2,...
10 Feb 2021 by Richard MacCutchan
This is not a programming question. You should post it at the IronPython support site.
9 Jun 2023 by Radheya Patil
Dear All, I am running a python script using c#. The only issue is i have to install python environment and libraries on target machine. Is there alternative method/library that has python interpreter pre-installed within and does not need...
8 Jun 2023 by Richard MacCutchan
Python scripts can only be run by a Python interpreter. So you must install it on any system that needs to run the script.
26 May 2010 by Hamed J.I
Analyze website content for Search Engine Optimization and technical problems (using Iron Python)
21 Jan 2010 by James Wucher
Examples of embedding the Iron Python engine in a C# form application.
20 Jun 2008 by JoeSox
A CLI control for IronPython 2.0B2+.
14 Mar 2011 by Davidscott59
Hi all,I am trying to make calls to methods in a python script from within my C# form app. I have installed IronPython 2.7, and I am using visual studio 2010. (FYI, I tried a simple version of this with no imports from my script, and it worked, I was able to make calls to the method)The...
8 May 2011 by YogeshaYS
Hi all,I have created an application whos tasks are,1.to sniff the messages sent on the serial port continuously2.to run a set of selected iron python scripts and capture its output and display in text box.Here i have no problem with sniffing the serial port(point 1). The problem is...
22 Mar 2014 by Dean_Wi
I'm adding python script in my website which i'm using it for serial communication and to do so i'm using ironpython...Following is the Codebehind file of my webpage:--using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using...
14 Jan 2015 by smoula99
HiI create code in C# with implement Py code using IronPython. But I have this problems:I have code in PY (MainFile.py at first row)import My_H as my_hMy_H.py contain only more constant of dictionary likeMy_STATE = { 'My_UP': 1, 'My_SB': 2, ...
25 Dec 2016 by Thomas Daniels
The IronPython implementation does not come with xml.parsers.expat. However, there is a workaround. There is a project FePy[^] that provides enhancements for IronPython. And xml.parsers.expat is one of them. Download this expat implementation file[^] and copy it to Lib\xml\parsers\expat.py in...
28 Dec 2008 by Stein Borge
How to populate properties and customize layout.
26 Mar 2017 by Aydin Homay
In this article, I tried to show a real benchmark based on presser test method, for a Big Data collection deals on C++, C#, and VB.NET.
11 May 2016 by Laszlo Frank
Is someone out there familiar with IronPython internals, specifically with PythonAst and LanguageContext classes ?My application does compile a Python script source and then look into PythonAst to find variables. While I can successfully find global variables, I am unable to get functions'...
15 Sep 2018 by ashish__shukla
What is Python? Python is a general purpose,interpreted and high-level programming language.It is object-oriented and dynamically typed programming language.Dynamically typed means that variables are not required to be declared before using them.Instead you directly assign value to a variable.
27 Jan 2016 by Member 11525381
So, I'm trying to make some function run without freezing the GUI. There is some way to change the text from a textblock in another thread? For example:import wpfimport threadfrom System.Windows import Application, Windowclass MyWindow(Window): def __init__(self): ...
22 Nov 2011 by :)9/11
if (yourmum = buttonState.pressed) setvibration(playerindex.me,1,69)else { fatness++; }if (fatCountingUp > 300kg); (setBiggestLoserShow = true);else { (setBiggestLoserShow = MEGAtrue); }if (codDisc = broken); (YouDumpGirlfriend);else { ...
23 Jul 2011 by DieOnTime
Can anybody please send me sample codes for IronPython for starters? Also please attach steps to execute.Thanks in advanceDaion
4 Sep 2011 by Member 8211537
hello, someone in yahoo chat has a program that is banning capcha from my screen name. i cant get the capcha box to come to enter the rooms.any suggestions on how to fix this annoying problem, thanks sue
18 Jul 2015 by Seraph_summer
Hi, I want to use IronPython 2.7 in .net.but I met one problem in using Numpy and SciPy package.anyone can give me hint how I can use it?by the way, I found Ironclad can be used for IronPython 2.6 to support Numpy and Scipy.I searched website, some tool such as ironpkg-1.0.0.py has...
8 Oct 2018 by Ryan Watson
I'm new to programming so My apologies to all.My question is Question is can the code below written in c# be converted to python? recognizer.LoadGrammar(new Grammar(new GrammarBuilder(new Choices(File.ReadAllLines(@"txt file location")))));What I have tried:I tried...
26 Apr 2016 by Member 11112758
I would convert the text below (c#) in IronPython.I need create a DrawingVisual and I must override the VisualChildrenCount property and the GetVisualChild method.source: official web Microsoft// Provide a required override for the VisualChildrenCount property. protected...