helper Namespace Reference


Functions

def flatten
def prepostquotes

Variables

tuple OC = __import__('objectclasses')


Function Documentation

def helper::flatten (   my_list  ) 

Flattens a list. If we f.ex. have a list like [[[2],2],[[[3,3],4],4],5,6], then this function will convert it to [2,2,3,3,4,4,5,5] recursively. Because it is done recursively the list shouldn't have too many levels.

Definition at line 17 of file helper.py.

def helper::prepostquotes (   thestring  ) 

prepends and appends a quote sign to a string, and returns it.

- the string that will be quoted

!return - the quoted string

Definition at line 33 of file helper.py.


Variable Documentation

tuple helper::OC = __import__('objectclasses') [static]

Definition at line 8 of file helper.py.


Generated on Fri Aug 31 11:11:19 2007 for CDBVis by  doxygen 1.5.3