Re: Python Script to Retrieve the Uptime

2008-05-02 Thread Arne Babenhauserheide
El Friday, 2 de May de 2008 13:06:03 Sergiu Ivanov escribió: > > > support for browsing tar files. > > > > Does python have some modules to browse tar files? Else I'd suggest > > something for which you already have python support, so as to focus on > > Hurdish matter. > > I don't know, whether Py

Re: Python Script to Retrieve the Uptime

2008-05-02 Thread Michael Banck
On Fri, May 02, 2008 at 06:50:32PM +0100, Samuel Thibault wrote: > Just to make sure: you know that there is already a tarfs lying around? > (I can't remember where) It's on hurdextras, see http://sv.gnu.org/p/hurdextras and http://cvs.sv.gnu.org/viewvc/tarfs/?root=hurdextras Michael

Re: Python Script to Retrieve the Uptime

2008-05-02 Thread Samuel Thibault
Sergiu wrote: > I don't know, whether Python has support for tar files :-) I meant > writing a translator in C, because I am not aiming at writing Python > bindings. Ah ok. > I chose tar because I found sufficient (it seems to me) documentation > on libtar and, Ok. > OK, I embark on doing this

Re: Python Script to Retrieve the Uptime

2008-05-02 Thread olafBuddenhagen
Hi, On Thu, May 01, 2008 at 09:16:21AM +0300, Sergiu Ivanov wrote: > I have finally finished the extension module that allows retrieving > the uptime of the system and the load averages from Python scripts. > The files together with some instructions are located at > http://www.speedyshare.com/47

Re: Python Script to Retrieve the Uptime

2008-05-02 Thread Sergiu Ivanov
On Fri, May 2, 2008 at 2:47 AM, Samuel Thibault < [EMAIL PROTECTED]> wrote: > Sergiu Ivanov, le Thu 01 May 2008 09:16:21 +0300, a écrit : > > I suggest that I try to write a translator that will implement some > basic > > support for browsing tar files. > > Does python have some modules to browse

Re: Python Script to Retrieve the Uptime

2008-05-01 Thread Samuel Thibault
Sergiu Ivanov, le Thu 01 May 2008 09:16:21 +0300, a écrit : > Is such timing okay, or shall I try to work faster? Faster is never better ;) Getting that working with zero initial knowledge is probably OK. > I suggest that I try to write a translator that will implement some basic > support for b

Python Script to Retrieve the Uptime

2008-05-01 Thread Sergiu Ivanov
Hello, I have finally finished the extension module that allows retrieving the uptime of the system and the load averages from Python scripts. The files together with some instructions are located at http://www.speedyshare.com/473240971.html . This extension module is based on w utility. I'd like