This file contains general-purpose utilities, mainly Python Cookbook
recipes.
|
|
|
|
|
unique(s)
Return a list of elements in s in arbitrary order, but without
duplicates. |
source code
|
|
|
|
|
|
|
containsGangaObjects(obj)
Recursive call to find GangaObjects |
source code
|
|
|
|
|
execute_once()
Return True if this function was not yet executed from a certain line in the program code. |
source code
|
|
|
hostname()
Try to get the hostname in the most possible reliable way as
described in the Python LibRef. |
source code
|
|
|
setAttributesFromDict(d,
prefix=None)
*Python Cookbook recipe 6.18* Helper function to automatically
initialises instance variables from __init_ arguments. |
source code
|
|
|
|
|
wrap_callable_filter(any_callable,
before,
after) |
source code
|
|
|
|
|
|
|
|