473,395 Members | 2,423 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

python for *nix system admins

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
4 1099
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

65
by: Anthony_Barker | last post by:
I have been reading a book about the evolution of the Basic programming language. The author states that Basic - particularly Microsoft's version is full of compromises which crept in along the...
8
by: Georg Brandl | last post by:
Hello c.l.py, what features would you expect of a Python package manager, similar to CPAN or rubygems? I am currently planning to write such a thing, at first privately for myself, and if...
0
by: Lars Stavholm | last post by:
km wrote: Thanks, but I'm aware of the standard libraries like os, sys, commands, and whatnot. I'm looking for a non-standard library that acts like a wrapper for the unix commands. I have seen...
0
by: Lars Stavholm | last post by:
Thank you all for your input. /Lars Lars Stavholm wrote:
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.