Re: [IronPython] Newbie Questions

2008-12-11 Thread Giulio Petrucci
Hi Dino, 2008/12/11 Dino Viehland <[EMAIL PROTECTED]>: > .NET config doesn't really have any concept of configuration for an > individual DLL. Instead it only has a config for the exe > which kicked things off (or actually for the current app domain). So the > concept of a "MyLibrary.dll.confi

Re: [IronPython] Newbie Questions

2008-12-11 Thread Dino Viehland
--- > From: [EMAIL PROTECTED] [mailto:users- > [EMAIL PROTECTED] On Behalf Of Giulio Petrucci > Sent: Thursday, December 11, 2008 12:42 AM > To: IronPython mailing list > Subject: Re: [IronPython] Newbie Questions > > Hi Dino, > > first of all, thanks for your reply > >

Re: [IronPython] Newbie Questions

2008-12-11 Thread Giulio Petrucci
Hi Dino, first of all, thanks for your reply 2008/12/5 Dino Viehland <[EMAIL PROTECTED]>: > You can add a reference to the assembly and then import both the class and > the enum. For example: > > import clr > clr.AddReference('MyLibrary') > from MyLibrary import MyClass, MyEnum > MyClass().Some

Re: [IronPython] Newbie Questions

2008-12-05 Thread Dino Viehland
12 AM To: users@lists.ironpython.com Subject: [IronPython] Newbie Questions Hi there, I've just started playing with IronPython and I have two (maybe) simple questions: 1) I have a .NET library with an enum E and a class C. The class C expose a method accepting E as an argument. How can I do this (I m

[IronPython] Newbie Questions

2008-12-05 Thread Giulio Petrucci
Hi there, I've just started playing with IronPython and I have two (maybe) simple questions: 1) I have a .NET library with an enum E and a class C. The class C expose a method accepting E as an argument. How can I do this (I mean: using enums) in IronPython? 2) I have a .NET library which reads so

Re: [IronPython] Newbie questions. . .

2008-01-07 Thread Keith Hoard
Original Message- > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] On Behalf Of FireNWater > Sent: Monday, January 07, 2008 9:51 AM > To: users@lists.ironpython.com > Subject: Re: [IronPython] Newbie questions. . . > > OK, I'm making progress. . . at least now I'm

Re: [IronPython] Newbie questions. . .

2008-01-07 Thread Dave Fugate
y, January 07, 2008 9:51 AM To: users@lists.ironpython.com Subject: Re: [IronPython] Newbie questions. . . OK, I'm making progress. . . at least now I'm getting an error in a dialogue box, and actually got it to work once this morning!! I have updated the DirectX SDK to the November 200

Re: [IronPython] Newbie questions. . .

2008-01-07 Thread FireNWater
a great readme (readme.html) that should get you going. > > > *From:* [EMAIL PROTECTED] [mailto: > > [EMAIL PROTECTED] *On Behalf Of *Keith Hoard > > *Sent:* Sunday, January 06, 2008 11:56 AM > > *To:* IronPython Mailing List > > *Subject:* [IronPython] Newbie questions. .

Re: [IronPython] Newbie questions. . .

2008-01-06 Thread Keith Hoard
IL PROTECTED] *On Behalf Of *Keith Hoard > *Sent:* Sunday, January 06, 2008 11:56 AM > *To:* IronPython Mailing List > *Subject:* [IronPython] Newbie questions. . . > > > > I have a few questions about getting up and running with IronPython. > > I have downloaded and installed

Re: [IronPython] Newbie questions. . .

2008-01-06 Thread Martin Maly
: [IronPython] Newbie questions. . . I have a few questions about getting up and running with IronPython. I have downloaded and installed ipy.exe to the D:\IronPython directory. I have also added this directory to the Path environment varialble. However, when I try to run the examples (In this case

[IronPython] Newbie questions. . .

2008-01-06 Thread Keith Hoard
I have a few questions about getting up and running with IronPython. I have downloaded and installed ipy.exe to the D:\IronPython directory. I have also added this directory to the Path environment varialble. However, when I try to run the examples (In this case "tutorial.py") from the web site,

Re: [IronPython] Newbie questions & comments

2005-12-06 Thread Edward K. Ream
The wild rumpus has started! Many thanks for your help. The code samples you suggested do indeed work. > Thanks for this feedback, we'll think about how to make the examples > clearer. You are welcome. I am reminded of the scene in the book 'The right stuff' where the test pilot can fly any

Re: [IronPython] Newbie questions & comments

2005-12-06 Thread Martin Maly
Hello Edward > Edward K. Ream Wrote: > > Alas, winforms itself does not work properly when started > inside my batch file. The window freezes. Here is the > contents of my batch file: > > cd c:\prog\IronPython-0.9.5\Tutorial > ..\bin\IronPythonConsole c:\prog\leoCVS\leo\test\ironPythonTest.py

Re: [IronPython] Newbie questions & comments

2005-12-06 Thread Edward K. Ream
> > Are you trying to import the "winforms.py" that is part of the tutorial? > > [snip] Running my batch file from the Tutorial directory does indeed make winforms available. Thanks! Alas, winforms itself does not work properly when started inside my batch file. The window freezes. Here is th

Re: [IronPython] Newbie questions & comments

2005-12-04 Thread Martin Maly
Hi Edward, > Edward K. Ream Wrote: > > Something strange is happening when I do this. If I invoke > IronPythonConsole interactively, I can import winforms. But > something different happens when I execute a file. For > example, suppose ironPythonTest.py contains: > > print 'Hello Iron Pyt

Re: [IronPython] Newbie questions & comments

2005-12-04 Thread Keith J. Farmer
Option: modify the source code to do a Console.ReadKey() before exiting. You could also try dumping the output to a file. - Keith J. Farmer // [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edward K. Ream Possible bug 4: Without

[IronPython] Newbie questions & comments

2005-12-04 Thread Edward K. Ream
> To run Python script from the file, simply run: > IronPythonConsole whatever.py Something strange is happening when I do this. If I invoke IronPythonConsole interactively, I can import winforms. But something different happens when I execute a file. For example, suppose ironPythonTest.py c

Re: [IronPython] Newbie questions & comments

2005-12-03 Thread Martin Maly
ot;-i" was a file name so we tried to run it :) Hope this helps Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edward K. Ream Sent: Saturday, December 03, 2005 1:04 PM To: IronPython Subject: [IronPython] Newbie questions & comments Hel

[IronPython] Newbie questions & comments

2005-12-03 Thread Edward K. Ream
Hello all, Great looking project. I am eager to start porting Leo to IronPython + Windows Forms. Here are some first thoughts from somebody new to .Net, IronPython, Windows Forms and Gotdotnet :-) 1. It took me two days to find the link to this list. I would have expected the link to be in the