Re: [IronPython] IronPython/Gtk#/TreeView ??

2005-04-06 Thread Muhammad Abubakar
Hi, I'm not using the ipython right now, but I did see some win forms example in the example directory which is the following. Doesnt this help u? # # # Copyright (c) Microsoft Corporation. All rights reserved.

Re: [IronPython] IronPython/Gtk#/TreeView ??

2005-04-06 Thread Swaroop C H
On Apr 7, 2005 2:17 AM, Hector Miuler Malpica Gallegos <[EMAIL PROTECTED]> wrote: > Hi, how I can use TreeView in IronPython? > C# > TreeStore StoreReportesDiario = new TreeStore (typeof (string), typeof > (string)); > Python?? > StoreReportesDiario = Gtk.TreeStore() I don't have an answer

RE: [IronPython] CPython access

2005-04-06 Thread Brian Lloyd
> 3. A crazy idea is to arrange to port the modules to managed C++ > combined with a fake set of include files that makes the > modules really > link with IronPython rather than CPython. In theory, this > could let the > modules work well with IronPython with only a recompile required. This > cou

RE: [IronPython] Generics support in IronPython

2005-04-06 Thread Jim Hugunin
The declaration of Python classes with generic type parameters is not supported today, and is not currently on my todo list for 1.0. I see generic types as vitally important in static languages like C#, but much less important for dynamic languages like Python. It's important for IronPython to

RE: [IronPython] CPython access

2005-04-06 Thread Jim Hugunin
Timothy Fitz wrote: > Where there be any plans for allowing IronPython to work with an > instance of CPython directly? There are quite a few instances where > this would be extremely handy (SWIG-wrapped libraries such as > wxPython, or tightly optimized pieces that deal directly with > operating sy

RE: [IronPython] IronPython + Npgsql

2005-04-06 Thread Hector Miuler Malpica Gallegos
Functions in IronPython 0.6?  I will have to wait for that IronPython0.7 function with monkey >>> for p in Type.GetProperties(type("string")): ...  print p ... System.Exception: bad args to this method in <0x0019c> IronPython.Objects.ReflectedMethodBase:Call (object[]) in <0x001ef> IronPyt

[IronPython] IronPython/Gtk#/TreeView ??

2005-04-06 Thread Hector Miuler Malpica Gallegos
Hi, how I can use TreeView in IronPython? C# TreeStore  StoreReportesDiario = new TreeStore (typeof (string), typeof (string)); Python?? StoreReportesDiario = Gtk.TreeStore() ___ users-ironpython.com mailing list users-ironpython.com@lists.ironpyt

RE: [IronPython] Converting an script to exe or dll

2005-04-06 Thread Jim Hugunin
Jeremy Jones wrote: > Scott Hatfield wrote: > > >That's great! > > > >Now can you have it run without a console? > > > How do you mean? I put a sleep(5) in there so that I could see the > output when I double clicked on __main__.exe from Windows Explorer, but > a console still popped up. I think

RE: [IronPython] IronPython + Npgsql

2005-04-06 Thread Jim Hugunin
Hector Miuler Malpica Gallegos wrote: > thanks, just the problem in indexing, in C# Resultado[1], in python I > have not been able, solution: > Resultado.GetValue(1) This should work as easily in IronPython as in C#. In general, if things are more awkward in IronPython than in C# you should firs

Re: [IronPython] Converting an script to exe or dll

2005-04-06 Thread Jeremy Jones
Scott Hatfield wrote: That's great! Now can you have it run without a console? How do you mean? I put a sleep(5) in there so that I could see the output when I double clicked on __main__.exe from Windows Explorer, but a console still popped up. I think there are probably ways to disable thi

RE: [IronPython] Converting an script to exe or dll

2005-04-06 Thread Scott Hatfield
That's great! Now can you have it run without a console? Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sriram Krishnan Sent: Wednesday, April 06, 2005 1:02 PM To: 'Discussion of IronPython' Subject: RE: [IronPython] Converting an script to exe or

RE: [IronPython] Converting an script to exe or dll

2005-04-06 Thread Sriram Krishnan
>Had to download FePy 0.7.1 and the .NET framework for my XP machine, but it *will* compile a script down to a .exe. >You just have to run the IronPythonConsole on it. I put a simple script in my IronPython\bin directory ran, >IronPythonConsole.exe on it, and ran the resulting __main__.exe dir

Re: [IronPython] Converting an script to exe or dll

2005-04-06 Thread Jeremy Jones
Sriram Krishnan wrote: Anthony Tarlano wrote: Hello, Does anyone know how I can use IronPython to convert a .py script to a PE (exe or dll) assembly? I don't think you can do that in the current version of IronPython. But I remember Jim saying that a compiler was on t

RE: [IronPython] Converting an script to exe or dll

2005-04-06 Thread Sriram Krishnan
Anthony Tarlano wrote: > Hello, > > Does anyone know how I can use IronPython to convert a .py script to > a PE (exe or dll) assembly? > I don't think you can do that in the current version of IronPython. But I remember Jim saying that a compiler was on the todo list Sriram __

[IronPython] Converting an script to exe or dll

2005-04-06 Thread Anthony Tarlano
Hello, Does anyone know how I can use IronPython to convert a .py script to a PE (exe or dll) assembly? Thanks, Anthony ___ users-ironpython.com mailing list users-ironpython.com@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironp