ironpython

What are the options for dynamically-typed .NET web development at this time?

What are you options for dynamically-typed .NET web development at this time? Ruby on Rails with IronRuby? Django (with a few alterations) and IronPython? Don't feel like going the Phalanger route. I'm done with PHP. I assume there is some way to make ASP.NET MVC more dynamic... but can you fully exploit that in .NET 3.5? There is th...

How does mercurial work without Python installed?

I have Mercurial 1.3 installed on my Windows 7 machine. I don't have python installed, but Mercurial seems to be OK with that. How does it work? Also, is it possible to force Mercurial run on IronPython and will it be compatible? Thank you. ...

How can I use a VB6 COM 'reference' in IronPython?

Hello. I'm currently developing what is more or less a script that needs to get some data from a VB 6 COM dll. This dll is currently used in a MS Word VBA project, and it exports classes, etc to the VBA code. It is added in the Tools -> References menu in the VBA editor, and I can see it's classes in the object browser of VBA. From my ...

How to find the installation path of IronPython

Hi, I have few python scripts of which one is to be executed in IronPython interpreter. How to find the installation path of IronPython. I searched the registry. To my surprise, it was not there. ...

Tune script environment of IronPython to use itertools

Question ago (http://stackoverflow.com/questions/1271320/reseting-generator-object-in-python) I was recommended to use itertools.tee. Actually I'm using IronPython, in the library we can see many usage of this feature, but there is no implementation (in *.py). That is why I'm confusing how to include this package to my c# project? ...

Does IronPython implement python standard library?

I tried IronPython some time ago and it seemed that it implements only python language, and uses .NET for libraries. Is this still the case? Can one use python modules from IronPython? ...

How to import static class (or static method) into IronPython (or DLR) using C# code(not python)?

scope.SetVariable("math", ?? typeof(System.Math) ??); or do I need create a module? ...

How can I access the overridden properties of a .NET API object in IronPython?

I am using IronPython to create a shell for a plugin API to Autodesk Revit Architecture 2010 to speed up learning their API. One of the classes the API provides is Autodesk.Revit.Elements.Room, derived from Autodesk.Revit.Element. I would really love to read Room.Name, but this goes Boom! on me as Room has overridden Elements Name prop...

Extending C# .NET application - build a custom scripting language or not?

I need to build a scripting interface for my C# program that does system level testing of embedded firmware. My application contains libraries to fully interact with the devices. There are separate libraries for initiating actions, getting output and tracking success/failure. My application also has a GUI for managing multiple devices a...

Generating EXE out of IronPython script

Hi, I am using IronPython studio to create IronPython scripts and convert them into executables. When converted to executables, it creates a Main exe and two dlls (IronMath.dll and IronPython.dll). Is it possible to create the executables without IronPython studio. I tried PYC downloaded from codeplex.com. It creates an exe and a dll wi...

Powershell window disappears before I can read the error message

When I call a Powershell script, how can I keep the called script from closing its command window. I'm getting an error and I'm sure I can fix it if I could just read the error. I have a Powershell script that sends an email with attachment using the .NET classes. If I call the script directly by executing it from the command line or ca...

Problem using IronPython to code against .NET assemblies specifically with app.config aspect

I started looking into IronPython to develop scripts against my .NET assemblies for certain tasks and ad-hoc processes. I like the ease of development with IronPython and the small footprint compared to handling this with a .NET console application project. However, I immediately ran into a roadblock with settings from app.config file. T...

Can you really use the Visual Studio 2008 IDE to code in Python?

I have a friend who I am trying to teach how to program. He comes from a very basic PHP background, and for some reason is ANTI C#, I guess because some of his PHP circles condemn anything that comes from Microsoft. Anyways - I've told him its possible to use either Ruby or Python with the VS2008 IDE, because I've read somewhere that th...

Is it possible to reference the output of an IronPython project from within a c# project?

I would like to build a code library in IronPython and have another C# project reference it. Can I do this? How? Is this just as simple as building the project and referencing the dll? Is there any conflict with the dynamic aspect of it? ...

IronPython and ASP.NET: ready for prime time?

Has anyone actually built and deployed a website with IronPython and ASP.NET. What were your experiences and is the combination ready for prime-time? I asked this question just over a year ago. And the consensus seemed to be "not really". What's the status now? ...

How to quickly (easy to script) preview 3D vectors / lines?

I am busy reading 3D building models from a tool and thus generating a bunch of Line(p1, p2) objects, each consisting of two Point(x, y, z) objects. I would like to display these things in a simple 3D viewer, kind of like SVG (which, as I understand, only supports 2D). The reading is done in Python, specifically IronPython. I could use ...

Simplfying DSL written for a C# app with IronPython

Thanks to suggestions from a previous question, I'm busy trying out IronPython, IronRuby and Boo to create a DSL for my C# app. Stop one is IronPython, due to the larger user and knowledge base. If I can get something to work well here, I can just stop. Here is my problem: I want my IronPython script to have access to the functions in ...

How do I dispose of a VB6 COM object i'm using via an interop assembly from IronPython?

Hello. I'm using a third party COM component by means of a .NET interop assembly in IronPython, as seen here: http://stackoverflow.com/questions/1237200/how-can-i-use-a-vb6-com-reference-in-ironpython My experience in this area has been great, I'm very impressed by the amount of stuff that works seamlessly... except one thing. The 3rd...

IronPython COM Interop: How do I chain through my interop assembly to access types from other COM components?

Hi. I'm doing .NET interop via a wrapper assembly generated by tlbimp. Anyway, this thirs party COM object has a method that returns a referance to another 3rd party typelib - actually, DAO350. Calling the method that returns this causes IronPython to fail, presumably because it can't find a type to match it to. Any ideas as to how I c...

How to unload a .NET assembly reference in IronPython

After loading a reference to an assembly with something like: import clr clr.AddRferenceToFileAndPath(r'C:\foo.dll') How can I unload the assembly again? Why would anyone ever want to do this? Because I'm recompiling foo.dll and want to reload it, but the compiler is giving me a fuss, since IronPython is allready accessing foo.dll. ...