ironpython

Different styles for Windows forms in Ironpython

Hi, I want to change the look of my Ironpython windows forms, Is it possible to change the style of the form and for example make it more like a Mac? thank you ...

Packaging script source files in IronPython and IronRuby

Does anyone know how to add python and ruby libs as a resource in a dll for deployment? I want to host a script engine in my app, but dont want to have to deploy the entire standard libraries of the respective languages in source files. Is there a simple way to do this so that a require or import statement will find the embedded resour...

ironpython installation problem

.net 3.0 is installed, but ironpython is still showing '.net 2.0 sp1 is required or later' ...

access mapped columns programmatically

I have both input as well as output collection for OLE DB Destination. However, the input and output columns are mapped in the OLE DB destination task and the column names do not match. Further, when you look at the "mappings" window of the task, there are certain columns in the input side, which are set to ignore. If i had to write th...

How can I use IronPython to to set a MimeType in IIS?

I need to write a simple IronPython script to work with MimeTypes within IIS. I have scripts to modify other IIS configurations but can't seem to get any MimeTypes. The attached script does not return any results. Running the same code within a C# console application produces the desired results. What do I need to do to get the at...

Ironpython, Silverlight, ASP.NET MVC for production site

I am looking to build a new website which will require a sql server backend and silverlight front end. I would also like to take advantage of the MVC framework. I currently code in C#, but am looking to learn a new type of language on this project. I've been reading up on F#, IronRuby and IronPython. IronPython seems to catch my eye ...

MSBuild Custom Task in IronPython/SharpDevelop 3.1

I'm trying to build an MSBuild custom task in IronPython using SharpDevelop 3.1 (IronPython 2.0.0). In order to build a custom task, the class needs to implement the Microsoft.Build.Framework.ITask interface. According to this post you can implement a .NET interface by inheriting from it. The ITask interface defines two properties, Bu...

is F# to IronPython/IronRuby as C# is to VB.NET?

I just listened to podcast of Chris Smith talking about F# in which he talks about how F# is a language which allows you to approach problems in a different way than in C#/VB.NET, i.e. instead of "pushing bits around" you "chain together data transformations", and that how F# will "become like XML", something that you use in addition to ...

Redeclare .net classes in IronPython

Can anyone tell me if its possible to redeclare a C# class in IronPython? If I have a C# class, would I be able to monkey-patch it from IronPython? ...

Iron Python / Iron Ruby EXE

I've always had this dream of creating a 'real exe' from a scripting language. With the available of DLR-based implementations of Python and Ruby, is this getting any closer to reality? I'd like to create a 'real application': A Windows Forms App A Console App A Windows Service And have the unit of distribution be a compiled exe. I...

Why is IronPython startup time so slow?

I've been using IronPython for a while now, but something which really hampers my development with it is that it is excruciatingly slow to start up. I love the language and it's way of working, but it is frustrating to have to wait upqards of 20 seconds before it starts executing my code. I have done some digging and it seems to be th...

Example code that embeds IronPython in SharePoint?

I'd like to do SharePoint development with IronPython, but I haven't seen any examples where IronPython is embedded in SharePoint. Does anyone have a working example that would get me started? ...

Writing XML from Python : Python equivalent of .NET XmlTextWriter?

I have some IronPython code which makes use of XmlTextWriter which allows me to write code like self.writer = System.Xml.XmlTextWriter(filename, None) self.writer.Formatting = Formatting.Indented self.writer.WriteStartElement(name) self.writer.WriteString(str(text)) self.writer.WriteEndElement() ... self.writer.Close() I would like ...

What is the difference in speed between the DLR languages and C# in Silverlight 2?

For Silverlight 2, it looks like programming choices are: C# VB DLR scripting languages IronRuby IronPython A sadly neglected (if not cancelled) Managed jScript Is this a case where the native languages (C# and VB) are faster than the DLR languages by an order of magnitude or so? Any hope of "living" in IronPython when I do Silver...

how to addreference to Ritmo for iSeries in ironpython

I was just wondering if anybody knows how to add reference to "Ritmo for iSeries" in IronPython. I did it successfully in C# and get it to work (since it is just click click click) And I was trying to do the same in IronPython but it says, "could not add reference to assembly Ritmo for iSeries". I was doing import clr clr.AddReference(...

How should I setup the Wing IDE for use with IronPython

Here is a screen where I should point the Wing IDE to my python files. I am using IronPython. Am I assuming correctly that textbox one gets filled with ipy.exe ? (proper path provided) What should be in the rest of the boxes ? ...

How to store and resend keyboard input for UI automation?

I have a winforms application where I need to capture keyboard input and store it in a script. The script can then be replayed with IronPython to automate the application. My current take on this is to listen on KeyPress events and resend the pressed character with SendKeys.Send(). To handle input with modifiers (alt, ctrl) I listen to t...

Better CSS in .NET?

I'm getting slightly jealous of the innovation I'm seeing from the Python and Ruby community around CSS. For example, see: http://sandbox.pocoo.org/clevercss/ http://lesscss.org/ http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html That said, my question is two fold. Could these library's be easily "ported" to .NET via IronRuby...

Trying to call IronPython from VB.net -- "Name 'PythonEngine' is not declared."

I am trying to replicate this example of calling IronPython code from VB.net. I've downloaded and installed IronPython and created a VB.net console application. I added references to all of the dlls in the IronPython installation folder: IronPython IronPython.Modules IronPythonTest Microsoft.Scripting.ExtensionAttribute Microsoft.Sc...

breakpoints in hosted IronPython scripts

I know I can set breakpoints and debug stand-alone IronPython scripts in VisualStudio. However, I have an application which hosts the IronPython engine. If I want to debug a script running in the hosted engine, is there a way to set breakpoints and step through the script? Should I be methods other than ExecuteFile to accomplish this?...