Module node
source code
:author: Josh Moore, josh at glencoesoftware.com
OMERO Grid node controller
This is a python wrapper around icegridnode.
Copyright 2008 Glencoe Software, Inc. All Rights Reserved. Use is
subject to license terms supplied in LICENSE.txt
|
tail_lines(filename,
linesback=10,
returnlist=0)
Does what "tail -10 filename" would have done Parameters: |
source code
|
|
|
RE = re.compile("^\s*(\S*)\s*(start|stop|restart|status)\s*(\S...
|
Imports:
Arguments,
BaseControl,
shlex,
re,
os,
sys,
signal,
Exc,
path
tail_lines(filename,
linesback=10,
returnlist=0)
| source code
|
Does what "tail -10 filename" would have done
Parameters:
filename file to read
linesback Number of lines to read from end of file
returnlist Return a list containing the lines instead of a string
|
RE
- Value:
re.compile("^\s*(\S*)\s*(start|stop|restart|status)\s*(\S*)\s*$")
|
|