By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,949 Members | 1,428 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,949 IT Pros & Developers. It's quick & easy.

python for *nix system admins

P: n/a
Hi All,

I'm new to this list and hoping that this is not off-topic.
If it is, please point me in the right direction.

I seem to recollect a python module or library for *nix sysadmins,
but I can't for the life of me find it again.

The module (or library) somehow added unix command capabilities
to the python language. It seemed like a lesser known, perhaps new,
python library or module.

Any input or ideas appreciated
/Lars Stavholm
Sep 27 '08 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Lars Stavholm <st***@telcotec.sewrites:
The module (or library) somehow added unix command capabilities
to the python language. It seemed like a lesser known, perhaps new,
python library or module.
Which particular Unix commands?

Perhaps you're thinking of the 'shutil' module
<URL:http://www.python.org/doc/lib/module-shutil>, which wraps a few
filesystem manipulation commands.

--
\ “Of all classes the rich are the most noticed and the least |
`\ studied.” —John Kenneth Galbraith, _The Age of Uncertainty_, |
_o__) 1977 |
Ben Finney
Sep 27 '08 #2

P: n/a
On Sat, 27 Sep 2008 10:05:01 +0200, Lars Stavholm wrote:
Hi All,

I'm new to this list and hoping that this is not off-topic. If it is,
please point me in the right direction.

I seem to recollect a python module or library for *nix sysadmins, but I
can't for the life of me find it again.

The module (or library) somehow added unix command capabilities to the
python language. It seemed like a lesser known, perhaps new, python
library or module.

Any input or ideas appreciated
/Lars Stavholm
The only modules I've come across that barely fit your description are
python-unixtools(gzip, bzip only) and shutil(some limited capabilities).
Running unix commands is usually done directly(os.popen, os.system) on
*nix platforms. Why(and how) would anyone rewrite them as python modules?
Sep 27 '08 #3

P: n/a
I've been growing a library of my own functions, that use the names of
unix commands. They are just conveniences, of course, but I'd suggest
the same for sysadmins, it's handy.
Sep 27 '08 #4

P: n/a
On Sat, Sep 27, 2008 at 3:32 PM, Eric Wertman <ew******@gmail.comwrote:
I've been growing a library of my own functions, that use the names of
unix commands. They are just conveniences, of course, but I'd suggest
the same for sysadmins, it's handy.
Can you share it?

Best,
SB.
Sep 27 '08 #5

This discussion thread is closed

Replies have been disabled for this discussion.