handy
index
/home/sabren/web/webappworkshop.com/pydoc/lib/handy/__init__.py

Misc handy routines

 
Package Contents
            
__init__
dates
metric
path
 
Functions
            
deNone(s, replacement='')
replaces None with the replacement string
edit(s)
launch an editor...
htmlEncode(s)
indent(s, depth=1, indenter=' ')
opposite of trim
randpass(length=5)
readable(bytes)
convert a bytecount into human-readable text
reconcile(seriesA, seriesB)
sendmail(mail)
sum(series, initial=None)
trim(s)
strips leading indentation from a multi-line string.
for saving bandwith while making code look nice
uid()
unique identifier generator, for sessions, etc
Returns a 32 character, printable, unique string
urlDecode(what)
xmlEncode(s)
xmlEncode(s) ->  s with >, <, and & escaped as &gt;, &lt; and &amp;
 
Data
             Everything = <handy.Everything instance>
__file__ = '/home/sabren/web/webappworkshop.com/pydoc/lib/handy/__init__.pyc'
__name__ = 'handy'
__path__ = ['/home/sabren/web/webappworkshop.com/pydoc/lib/handy']
_entitymap = {'"': 'quot', '&': 'amp', '&#338;': 'OElig', '&#339;': 'oelig', '&#352;': 'Scaron', '&#353;': 'scaron', '&#376;': 'Yuml', '&#402;': 'fnof', '&#710;': 'circ', '&#732;': 'tilde', ...}