Re: [IronPython] importing os module

2005-10-31 Thread Liam Clarke
Now, my question on os is, what does IronPython have against pipe() ? Does IronPython not play with C at all? Regards, Liam Clarke On 11/1/05, Martin Maly <[EMAIL PROTECTED]> wrote: > > You can set sys.path to point to CPython's Lib directory which includes os > module: > > >>> import sys > >>>

Re: [IronPython] Create a .dll from a Script

2005-10-31 Thread Keith J. Farmer
When run under Win32, IronPython generates an exe which should be importable as an assembly (does it do so when run from Mono? In any case, Mono should still be able to import it, or soon will now that Whidbey has released.).  If you use Reflector (http://www.aisto.com/roeder/dotnet/), you

Re: [IronPython] Need help in learning.

2005-10-31 Thread Keith J. Farmer
Of course, it precludes searching by object, if the object’s type is string.  ;)   I’d have stuck to msdn(Type), myself, but that doesn’t detract from any intrinsic coolness..   - Keith J. Farmer [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On B

[IronPython] Create a .dll from a Script

2005-10-31 Thread Piessens, Daniel
Hello,   My team and I have come across a Python Library Toolkit that we could really use in a .NET application that we are creating. The issue is that the Python Library is far to extensive to re-write in .NET and IronPython seemed like a good choice for converting the python code into a manag

Re: [IronPython] Need help in learning.

2005-10-31 Thread Peli de Halleux (PELI)
Slick.   From: [EMAIL PROTECTED] On Behalf Of Shawn Farkas Sent: Monday, October 31, 2005 12:27 PM To: Discussion of IronPython Subject: Re: [IronPython] Need help in learning. Pretty easily done with a quick script:   import sys sys.LoadAssemblyByName("System") from System import St

Re: [IronPython] IronPython and WPF .. too cool

2005-10-31 Thread Brian
I think there's a recent book out on WPF as well by Oreilly. On 10/31/05, Shawn Farkas <[EMAIL PROTECTED]> wrote: > Hi Liam, > > You can check out > http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/portals/html/7579a80a-fd14-440f-b6f7-a1193e100598.asp > for links to WPF doc

Re: [IronPython] Need help in learning.

2005-10-31 Thread Shawn Farkas
Pretty easily done with a quick script:   import sys sys.LoadAssemblyByName("System") from System import String from System.Diagnostics import Process   def msdn(query):     if query.GetType() == String.Empty.GetType():     Process.Start("http://search.m

Re: [IronPython] Need help in learning.

2005-10-31 Thread Peli de Halleux (PELI)
Following up the improving the experience for new .Net users, IronPython could provide specialized commands to search msdn and pop up a internet window. For example something like     msdn "System.Security.Cryptography.SignedXml.ComputeSignature"   // search based on literal     msdn foo    /

Re: [IronPython] Need help in learning.

2005-10-31 Thread Shawn Farkas
Sure -- you just have to go to the MSDN docs for the class you're using. For instance, if you want to use the System.Security.Cryptography.SignedXml.ComputeSignature() method, you would go to the MSDN documentation for "SignedXml Class" (http://msdn.microsoft.com/library/default.asp?url=/libra

Re: [IronPython] Need help in learning.

2005-10-31 Thread Mayfield, Weatherby
I am in a similar boat with regard to knowing some Python but very little .NET. I'm very intrigued by the ability to access the .NET framework from Python, but I know so little about .NET I'm not even sure what question(s) to ask. >From what I have seen in the examples and archives, it looks like

Re: [IronPython] Need help in learning.

2005-10-31 Thread Michael Gogins
IronPython is not quite "finished" so your best bet would be to go through the Python tutorial at www.python.org first. Then you will understand what is happening with regular Python and be in better shape to deal with what is and what is not finished or working in IronPython. Regards, Mike --

Re: [IronPython] importing os module

2005-10-31 Thread Martin Maly
You can set sys.path to point to CPython's Lib directory which includes os module:   >>> import sys >>> sys.path.append("C:\\Python24\Lib") >>> import os >>> os.name 'nt' You can even put the first 2 lines into your site.py (located in IronPython's Bin\lib directory)   Martin   From: [EMA

[IronPython] Need help in learning.

2005-10-31 Thread S.Rajesh
Hi, I am familiar with python but not with .NET. I also do not know other programming languages like VB or C# so it is not that easy to follow tutorials. What should be my first step to learn to use ironpython? Thank You. ___ users mailing list users@

[IronPython] importing os module

2005-10-31 Thread Papanii Okai
Hi Guys,   I was testing out Iron Python and I was trying to test out the OS module but I got the error ..   TraceBack (most recent call last)     At ImportError: No module named os..   Obviously it doesn’t exist. Thus is there any means to get around this?   Than

[IronPython] new addition

2005-10-31 Thread Gurkan Yeniceri
Hi People,   I have just joined to the list.   I have downloaded the Iron Python but don’t know where to start. Is there a beginner’s web site somewhere?   Gurkan Yeniceri Analyst Developer www.analystdeveloper.com   ___ users mail

Re: [IronPython] devenv

2005-10-31 Thread Freddie Witherden
Does anyone have a list of modules which are currently supported? >From: Martin Maly <[EMAIL PROTECTED]> >Reply-To: Discussion of IronPython >To: "Discussion of IronPython" >Subject: Re: [IronPython] devenv >Date: Tue, 11 Oct 2005 21:58:09 -0700 >MIME-Version: 1.0 >Received: from one.mx.123-reg

Re: [IronPython] IronPython and WPF .. too cool

2005-10-31 Thread Shawn Farkas
Hi Liam, You can check out http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/portals/html/7579a80a-fd14-440f-b6f7-a1193e100598.asp for links to WPF docs. In general the pre-release docs for WinFX (including WPF and WCF) are on http://winfx.msdm.microsoft.com -Shawn -