Regular Expression
Michael Fuhr
mfuhr at fuhr.org
Wed Dec 15 03:04:17 EST 2004
More information about the Python-list mailing list
Wed Dec 15 03:04:17 EST 2004
- Previous message (by thread): Regular Expression
- Next message (by thread): Regular Expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Timothy Grant <timothy.grant at gmail.com> writes: > On Tue, 14 Dec 2004 23:16:43 -0700, Michael McGarry > <replytogroup at nospam.org> wrote: > > > > ".... load average: 0.04, 0.02, 0.01" > > > > how can I extract this number with RE or otherwise? > > Lot's of good solutions for the problem. In the special case where you want the current load average numbers for the box running the program and you have Python 2.3 or later, you could use os.getloadavg(). -- Michael Fuhr http://www.fuhr.org/~mfuhr/
- Previous message (by thread): Regular Expression
- Next message (by thread): Regular Expression
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list