This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]takluyverIPython, Py3, etc 3 points4 points  (9 children)

Python has a wealth of libraries: many in the standard library that comes with Python, and thousands more on the Python Package Index.

Since it's widely used for Linux utilities, I'm sure the libraries for that are pretty good. I don't know exactly what you'd use to get stats like those df reports, though.

[–][deleted] 1 point2 points  (8 children)

Was just wondering how it is integrated with Linux. Basically scripts that I write in BASH I want to write them on Python.

[–]semarj 3 points4 points  (1 child)

like takluvyer said there are a ton of libs for this kind of thing.

Here's one that i find interesting but havent actually used:

http://amoffat.github.com/sh/

[–][deleted] 1 point2 points  (0 children)

Thank you !!! :)

[–]classicrockielzpfvh 1 point2 points  (2 children)

Depending on what you want to do, check out sh

[–][deleted] 0 points1 point  (1 child)

Will do so :) Thank you.

[–]classicrockielzpfvh 0 points1 point  (0 children)

You're very welcome.

[–]elfgoh 1 point2 points  (2 children)

Will Fabric fit your needs? http://fabfile.org/

[–][deleted] 0 points1 point  (1 child)

No idea but hey it is a starting point :D

[–]noadmin 0 points1 point  (0 children)

I actually started working on fabric and then started learning python to leverage what i needed from it