| Trees | Indices | Help |
|
|---|
|
|
Common utility functions for various Bio submodules.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Count the number of items in an iterable.
If the argument supports len(items), and some iterators do, then
this returns len(items). Otherwise it will scan over the entries
in order to count them.
Exhausts a generator, but doesn't require creating a full list.
>>> iterlen("abcde")
5
>>> iterlen(iter("abcde"))
5
>>> iterlen(xrange(5))
5
|
Finds the absolute path of Biopython's Tests directory. Arguments: start_dir -- Initial directory to begin lookup (default to current dir) If the directory is not found up the filesystem's root directory, an exception will be raised. |
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Feb 5 17:59:48 2013 | http://epydoc.sourceforge.net |