views:

703

answers:

3

I just took a brief look at PowerShell (I knew it as Monad shell). My ignorant eyes see it more or less like a hybrid between regular bash and python. I would consider such integration between the two environments very cool on linux and osx, so I was wondering if it already exists (ipython is not really the same), and if not, why ?

A: 

As far as PowerShell on Linux or OSX, see Pash, a cross-platform version of PowerShell using Mono.

John D. Cook
... which is *very* far from being functional, let alone complete and it hasn't seen an update in a year and a half.
Joey
+6  A: 

I've only dabbled in Powershell, but what distinguishes it for me is the ability to pipe actual objects in the shell. In that respect, the closest I've found is actually using the IPython shell with IPipe:

Following the recipes shown on that page and cooking up my own extensions, I don't often leave the IPython shell for bash. YMMV.

ars
+1  A: 

I think Hotwire is basically what you're thinking of:

http://code.google.com/p/hotwire-shell/wiki/GettingStarted0700

It's a shell-type environment where you can access the outputs as Python objects.

It doesn't have all PowerShell's handy hooks into various Windows system information, though. For that, you may want to literally integrate Python with PowerShell; that's described in IronPython In Action.

catherine