utils_server Namespace Reference


Functions

def LoadConfig
def check_ip
def get_keywords
def remove_item
def list_to_string
def delete_file
def usage_exit
def find


Function Documentation

def utils_server::check_ip   ip  ) 
 

This function checks if a given IP is valid.

Definition at line 30 of file utils_server.py.

def utils_server::delete_file   file_name,
  verbose
 

This function deletes a file.

Definition at line 120 of file utils_server.py.

def utils_server::find   search,
  listus
 

This function finds an item within a list (1 dimensional).

Definition at line 142 of file utils_server.py.

def utils_server::get_keywords   filus  ) 
 

This function extracts keywords from a give file!

Definition at line 54 of file utils_server.py.

def utils_server::list_to_string   listus  ) 
 

This function converts the keyword list (2 dimensional array) to a keyword string (keywords comma separated), so the string is writable into the keyword file.

Definition at line 103 of file utils_server.py.

def utils_server::LoadConfig   file_name,
  config = {}
 

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 14 of file utils_server.py.

def utils_server::remove_item   listus,
  item
 

This function removes an item for a list (2 dimentional) as a rekursive function.

Definition at line 86 of file utils_server.py.

def utils_server::usage_exit   progname,
  msg = None
 

This function diplays the usage of this program and terminates the program!

Definition at line 132 of file utils_server.py.


Generated on Sun Mar 5 18:04:17 2006 for GZ Parser by  doxygen 1.4.6-NO