Re: [IronPython] ImportError: No module named

2010-04-08 Thread David Escobar
As an aside, you can also access XLSX files with CPython as well. You can use the Python for Win32 extensions. Apparently, it even supports Python 3.x (although I've only used it with Python 2.6 so far). http://sourceforge.net/projects/pywin32/ David On Thu, Apr 8, 2010 at 1:12 PM, Richard Stev

Re: [IronPython] IronPython Tools for Visual Studio

2010-04-08 Thread David Escobar
Also, checkout SharpDevelop, an open source .NET IDE. It has full IronPython integration (including a Windows Forms designer!). It can also be used for C#, F#, VB, and Boo. David On Thu, Apr 8, 2010 at 10:35 AM, Prasanna Jaganathan wrote: > Hi > > I am trying to get a good IDE for working with

Re: [IronPython] Using SetPropertyValue and Put()

2010-04-08 Thread Curt Hagenlocher
I don't really know anything about WMI -- what's the type of the object returned from the CreateWithNodeType method? What happens when you call b.Put()? As for the code, are you asking for a critique of the Python style? I hope so, because I'm about to provide one! :) As a long-time Python user, h

Re: [IronPython] IronPython Tools for Visual Studio

2010-04-08 Thread Cronin, Ted
Dino - This is good news. Will there be a web forms component? Also, will you provide a list of enhancements from the last version. A newer Gestalt should be out by then too, correct? Ted Ted Cronin ACR ValueGIS (951) 955 - 0487 -Original Message- From: users-boun...@lists.ironpy

Re: [IronPython] IronPython Tools for Visual Studio

2010-04-08 Thread Joshua Kramer
I believe if you launch IronPython in such a way that it listens for debugger connections, it will allow you to do this - but I haven't done so myself yet. On Thu, 8 Apr 2010, Marty Nelson wrote: Date: Thu, 8 Apr 2010 13:34:22 -0700 From: Marty Nelson To: Joshua Kramer Cc: users@lists.iro

[IronPython] Using SetPropertyValue and Put()

2010-04-08 Thread Michael
Hi I'm trying to set some properties on an instance in WMI. I can set the property, but I can't figure out to call the Put() method, so that the properties are stored. As I have only looked at IronPython for a couple of day I would also like if someone can comment on potential issues with the cod

Re: [IronPython] ImportError: No module named

2010-04-08 Thread Can Gencer
On Thu, Apr 8, 2010 at 10:12 PM, Richard Steventon wrote: > Hi all, > > I am moving some code from Python to IronPython (latest) so I can > access Excel XLSX files.  The code is a loose bunch of files in a > single directory. > > ie: >   main.ipy >   accessFunctions.ipy > > Within main.ipy, I do:

Re: [IronPython] ImportError: No module named

2010-04-08 Thread Lepisto, Stephen P
Richard, Try changing the suffix on the files to be .py instead of .ipy. It appears that in IronPython 2.0 and 2.6, the import statement requires the modules to end in .py -- at least in the situation you are describing. -Original Message- From: users-boun...@lists.ironpython.com [ma

Re: [IronPython] IronPython Tools for Visual Studio

2010-04-08 Thread Marty Nelson
Thanks. I'll check that out. Longer term, I would like to integrate the debugging capabilities with the specific use-cases in our application. Does the Eclipse + PyDev offer debugging that would work from script launched from a running .NET application? -Original Message- From: Joshua

Re: [IronPython] IronPython Tools for Visual Studio

2010-04-08 Thread Joshua Kramer
Marty, If you'd like to provide a dev environment to your customers now you can always include Eclipse + PyDev. It works great with IronPython, and it's far better than the "poor man's text editor" you refer to in your e-mail. Cheers, -Josh ___ Us

[IronPython] ImportError: No module named

2010-04-08 Thread Richard Steventon
Hi all, I am moving some code from Python to IronPython (latest) so I can access Excel XLSX files. The code is a loose bunch of files in a single directory. ie: main.ipy accessFunctions.ipy Within main.ipy, I do: from accessFunctions import * Which gives: ImportError: No module name

Re: [IronPython] IronPython Tools for Visual Studio

2010-04-08 Thread Marty Nelson
Very interested in how we can use VSIP or other partnership to co-market and allow customers to have better IDE then the poor-man's text editor we now ship with. Whether that takes the form of embedding your controls in our app, or we want to promote adoption of VS Express, looking forward to

Re: [IronPython] IronPython Tools for Visual Studio

2010-04-08 Thread Dino Viehland
Yes - weeks not months. It is still a work in progress so this isn't a final v1.0 or something (more like 0.2) but it will be publicly downloadable. We're aiming for a v1 by the end of the year. > -Original Message- > From: users-boun...@lists.ironpython.com [mailto:users- > boun...@lis

Re: [IronPython] IronPython Tools for Visual Studio

2010-04-08 Thread Lukáš Duběda
Oh man! I can't wait for the IPy support in VS2010! So, you're saying it should be out in a couple of weeks? Not months? I'm especially eager to get my hands on a really functional, usable and usful IDE for GUI development. Thumbs up to you involved in the development of these tools! Lukáš Dub

Re: [IronPython] IronPython Tools for Visual Studio

2010-04-08 Thread Dino Viehland
It's not yet publicly available - the preview was given out exclusively to PyCon attendees on a CD. We'll be putting out an updated version within a couple of weeks after VS 2010 launches which is April 12th. From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com]

Re: [IronPython] IronPython Tools for Visual Studio

2010-04-08 Thread Jeff Hardy
On Thu, Apr 8, 2010 at 11:35 AM, Prasanna Jaganathan wrote: > Hi > I am trying to get a good IDE for working with Iron Python, I chanced upon > this page and found about IronPython Tools for Visual Studio. > http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_for_Visual_Studio_W

Re: [IronPython] IronPython with CherryPy through WSGI Memory issue

2010-04-08 Thread Jeff Hardy
On Thu, Apr 8, 2010 at 11:41 AM, Can Gencer wrote: > I did my debugging like this.. > > I set up a url such as http://server/gc where if you would go there it > would call GC.Collect() and GC.WaitForPendingFinalizers() a few times > > Then did a few requests, and call the GC url and use windbg wit

Re: [IronPython] IronPython Tools for Visual Studio

2010-04-08 Thread Marty Nelson
We offer extensive Iron Python extension points for our customers in our application and would be very interested in this technology as well. Marty Nelson Symyx Technologies. From: users-boun...@lists.ironpython.com [mailto:users-boun...@lists.ironpython.com] On Behalf Of Prasanna Jaganat

Re: [IronPython] IronPython with CherryPy through WSGI Memory issue

2010-04-08 Thread Can Gencer
On Thu, Apr 8, 2010 at 7:32 PM, Jeff Hardy wrote: > On Thu, Apr 8, 2010 at 10:38 AM, Can Gencer wrote: >> I've noticed there was a leak in the NWSGI implementation regarding >> the input/output streams, i.e. they were never GC'd. It could be due >> to the way the stream -> file conversion is done

[IronPython] IronPython Tools for Visual Studio

2010-04-08 Thread Prasanna Jaganathan
Hi I am trying to get a good IDE for working with Iron Python, I chanced upon this page and found about IronPython Tools for Visual Studio. http://us.pycon.org/media/2010/talkdata/PyCon2010/009/IronPython_Tools_for_Visual_Studio_Walkthrough.pdf

Re: [IronPython] IronPython with CherryPy through WSGI Memory issue

2010-04-08 Thread Jeff Hardy
On Thu, Apr 8, 2010 at 10:38 AM, Can Gencer wrote: > I've noticed there was a leak in the NWSGI implementation regarding > the input/output streams, i.e. they were never GC'd. It could be due > to the way the stream -> file conversion is done. Wouldn't surprise me; that's kind of an ugly piece of

Re: [IronPython] IronPython with CherryPy through WSGI Memory issue

2010-04-08 Thread Can Gencer
On Thu, Apr 8, 2010 at 5:29 PM, Jeff Hardy wrote: > On Fri, Apr 2, 2010 at 8:06 PM, Dino Viehland wrote: >> Can you clear the exception data from the server at all? > > ExceptionHelpers.DynamicStackFrames never climbs above 1 (as far as I > can tell), yet there's a consistent leak of about 35k/re

Re: [IronPython] IronPython with CherryPy through WSGI Memory issue

2010-04-08 Thread Jeff Hardy
On Fri, Apr 2, 2010 at 8:06 PM, Dino Viehland wrote: > Can you clear the exception data from the server at all? ExceptionHelpers.DynamicStackFrames never climbs above 1 (as far as I can tell), yet there's a consistent leak of about 35k/request. That just doesn't seem to make sense based on what I