I have some types in a C# library I wrote, e.g.:
namespace SprocGenerator.Generators
{
public class DeleteGenerator : GeneratorBase
{
public DeleteGenerator(string databaseName, string tableName) : base(databaseName, tableName)
I want to use them in an IronPython script:
import clr
import sys
clr.AddReferenceToFile("Spr...
I'm considering embedding a scripting language into one of my software projects and have identified two options: compiling C# at run-time via CodeDOM and embedding a DLR-based scripting language. Both options would give me full access to the .NET Framework.
The operation that I'd be scripting would be a user-defined transformation of a...
Does anyone know if IronPython 2.6 is planned to have support for pdb.set_trace() to enable setting breakpoints in an ironpython module? If not does anyone have a suggestion for accomplishing this without pdb?
...
(I am working interactively with a WordprocessingDocument object in IronPython using the OpenXML SDK, but this is really a general Python question that should be applicable across all implementations)
I am trying to scrape out some tables from a number of Word documents. For each table,
I have an iterator that is giving me table row ob...
Hi,
I'm an admin on an active domain and most of my users use the same password,
I find all those users so that I could ask them to change their password.
I was thinking that iron python would be good tool to get this done.
How would I get this accomplished?
Any help would be really appreciated.
Thanks.
...
I want to use IronPython as a simple test harness for a .net application.
I have created a project in Visual Studio 2008 and have an empty python source file.
I have added my assemblies to the project in Visual Studio.
I am familiar with general python programming.
How do I import and use classes from my referenced assemblies?
...
Hi All,
I am using the below code to execute the IronPython Script on separate "appDomain" from c#.
(I used this approach to resolve memory leakage issue)
The scripts which take a lesser time (less than 3 mins), executes fine.
But if the script which takes a longer time (more than 5mins) throws an exception saying
-> System.Runtime.Re...
This is a dumb question, but I just cant find an answer. I want to do something as simple as this in IronPython, something I did in asp.net vb.net to capture the id of a table displayed in a gridview or datagrid
iid = e.Item.Cells(2).Text
But I get "Tablecellcollection is not callable". Any idea or alternative to solve it?
...
I need to inspect the value of a variable inside a class in asp.net IronPython in Visual Studio 2008. Visual Studio 2008 inspector doesnt work for IronPython (if the inspector works in VS 2008 for asp.net IronPython and it isnt working for me plz tell me) and you can't use Response.write - Response.end inside a class. What can I do to kn...
What is the procedure to get IPython to use IronPython as it's Python interpreter?
I know there were previously some issues: http://stackoverflow.com/questions/1160501/what-is-required-to-use-ipython-in-ironpython
But now that these issues should be fixed, how do i actually go about this?
The install doesn't detect IronPython as a ve...
Is there any way to disable the use of import once I've finished using it? I'm using IronPython as a scripting engine and I don't want users to be able to import anything. This could be done in LuaInterface by the use of setfenv:
luanet.load_assembly("System.Windows.Forms")
luanet.load_assembly("System.Drawing")
Form=luanet.import_type...
I know that IronPython is a dynamically typed language so what I am asking sounds pretty stupid, but is it possible to do something with an IronPython script to make sure the changing of the CLR libraries it references will not result in a runtime error when the script is executed?
The reason I ask is that I have written a library refer...
Consider this about the up-coming Iron Python implementation.
In theory it would allow monkey patching right? Good or bad, it matters not. Given someone else's non-testable code (at least easily) the dynamic keyword would allow monkey patching would it not? This has great potential for C# and VB if I'm reading it right.
What are the th...
Hello guys,
Does anyone know a good IronPython book?
...
I'm implementing a .net class in ironpython and the class needs to expose some .net events.
How do I expose .net events using ironpython?
I checked out the Tutorial\pyevent.py, but the procedure seems complicated for exposing a single event. is there any key words in iron python that would let me do this.
regards
G
...
I am looking for the best solution for custom file parsing for our enterprise import routines. I want to basically change one file format into a standard file format and have one routine that imports that data into the database. I need to be able to create custom scripts for each client since its difficult to get the customer to comply w...
I had a scanned multipage TIFF image and needed to split each page out into individual files.
This is easy to do in by leveraging the .NET framework and C#, but since I did not have all the development tools installed on the machine I was using, I instead opted to use IronPython (via ipy.exe) to quickly script the processing logic.
Usi...
What is a nice templating engine to use in C#? I have XML or JSON as structured datasource. This data needs to be presented to users on the web in strict XHTML.
I've been using XSLT mostly, but maybe there are more or better options?
It needs to be used in C# or IronPython.
...
Hi folks:
I have heard IronPython for a long time, but never seen a real-life application using it.
Do you provide some examples to see its power?
Thanks.
...
Hi,
I'm trying to create an ado.net transaction in IronPython in asp.net and I'm getting the following error
"couldn't find member Rollback"
I tried to see what's different in my ironpython ado.net transaction with a vb.net ado.net transaction but I can't see the differences or find the reason why one doesnt work and the other does. Pe...