Stefano Borini
Stefano Borini

Reputation: 143875

A python based PowerShell?

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 ?

Upvotes: 9

Views: 2918

Answers (4)

Chris Poff
Chris Poff

Reputation: 23

An open source version of powershell does now exist. It can be found at https://msdn.microsoft.com/en-us/powershell.

Upvotes: 1

ars
ars

Reputation: 123548

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.

Upvotes: 10

Catherine Devlin
Catherine Devlin

Reputation: 7743

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.

Upvotes: 3

John D. Cook
John D. Cook

Reputation: 30089

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

Upvotes: 1

Related Questions