Module s.utils

Part of stoqdrivers

Functions for general use.
Function get_module_list Given a directory name, returns a list of all Python modules in it
Function encode_text Converts the string 'text' to encoding 'encoding' and optionally
def get_module_list(dirname):
Given a directory name, returns a list of all Python modules in it
def encode_text(text, encoding):
Converts the string 'text' to encoding 'encoding' and optionally normalizes the string (currently only for ascii)
Parameterstexttext to convert (type: str )
encodingencoding to use
text (type: str )
Returnsconverted text
API Documentation for Stoqdrivers, generated by pydoctor at 2009-04-30 17:14:35.