Functions | |
def | LoadConfig |
def | parse_directory |
def | get_keywords |
def | remove_item |
def | gunzip |
def | delete_file |
def | usage_exit |
def | start |
|
This functions deletes a given file. Definition at line 119 of file gz_parser.py. |
|
This function extracts keyword from a give file! Definition at line 59 of file gz_parser.py. |
|
This function unzips a *.gz file using the system tool gunzip. Make sure when calling the function the file exists in this directory. The function creates a temporary file and leave the orignal *.gz file untouched! Definition at line 108 of file gz_parser.py. |
|
This functions returns a dictionary with key's of the form <section>.<option> and the values . source: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65334 Definition at line 18 of file gz_parser.py. |
|
This function "walks" through a given directory and considers all srbLOG*.gz files. The name and last modified time are saved in a list (2 dimensional array). The function should be used with os.path.walk(path, function_name, arg)! Definition at line 34 of file gz_parser.py. |
|
This function removes "items" form a list object rekursiv. Definition at line 91 of file gz_parser.py. |
|
This function starts the application. Definition at line 142 of file gz_parser.py. |
|
This function displays the usage of the program and terminated the script. Definition at line 130 of file gz_parser.py. |