[IronPython] importing powershell ala the demo video

Dave Fugate dfugate at microsoft.com
Mon Sep 11 23:02:29 CEST 2006


Work is now being wrapped up on the PowerShell demo which will hopefully be released early this week as a complete sample.  In the meantime, I'll give you a short summary of what to expect:

* powershell.py is a nice little module Jim wrote which wraps the managed PowerShell API in a very Pythonic way. This is not distributed directly with IronPython and for this reason you cannot import it (yet)

* there will be two Python scripts performing (identical) functionality. One of these uses Jim's powershell module and the other utilizes the managed PowerShell API directly

Dave

From: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Dave Kurman
Sent: Sunday, September 10, 2006 9:35 AM
To: Discussion of IronPython
Subject: Re: [IronPython] importing powershell ala the demo video

Along with powershell Jim had a number of other helpers for the demo that might be useful to examine -- like how was vbx done?

I don't have a particular use case for now but the stuff is pretty exciting.

thanks --dave
On 9/8/06, brian at babastik.com<mailto:brian at babastik.com> <brian at babastik.com<mailto:brian at babastik.com> > wrote:
Hey everyone,

I am missing a key step trying to recreate the
"from powershell import *" from Jim Hugunin demo
(http://weblog.infoworld.com/udell/screenroom/ironpython_flv.html).  I
always get the "no module named powershell" error.

Does anyone know what else needs to be setup for IronPython to find the
powershell "module" and map it?

Thanks.

_______________________________________________
users mailing list
users at lists.ironpython.com<mailto:users at lists.ironpython.com>
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20060911/e3ae210d/attachment.html>


More information about the Ironpython-users mailing list