python for *nix system admins

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lars Stavholm

    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
  • Ben Finney

    #2
    Re: python for *nix system admins

    Lars Stavholm <stava@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

    Comment

    • George Boutsioukis

      #3
      Re: python for *nix system admins

      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.pop en, os.system) on
      *nix platforms. Why(and how) would anyone rewrite them as python modules?

      Comment

      • Eric Wertman

        #4
        Re: python for *nix system admins

        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.

        Comment

        • Sebastian Bassi

          #5
          Re: python for *nix system admins

          On Sat, Sep 27, 2008 at 3:32 PM, Eric Wertman <ewertman@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.

          Comment

          Working...