|
makeDirs(dir)
Wrapper around makedirs that sanity checks before running |
source code
|
|
|
read(fname)
Wrapper around the standard function to open a file and read its
contents |
source code
|
|
|
write(fname,
data)
Wrapper around the standard function to open a file and write
data |
source code
|
|
|
unlink(fname)
Wrapper around the standard function to delete a file |
source code
|
|
|
chunk(lst,
n)
Break lst into n-sized chunks |
source code
|
|
|
sorted(lst,
*args,
**kw)
Keep things sane in a pre-python 2.4 environment |
source code
|
|
|
firsts(lst)
The first element of every item in a sequence |
source code
|
|
|
|