gvsig-3d / 1.10 / trunk / binaries / mac / raster / gdal / GDAL.framework / Versions / 1.7 / Python / site-packages / numpy / doc / __init__.py @ 27
History | View | Annotate | Download (464 Bytes)
1 |
import os |
---|---|
2 |
|
3 |
ref_dir = os.path.join(os.path.dirname(__file__)) |
4 |
|
5 |
__all__ = [f[:-3] for f in os.listdir(ref_dir) if f.endswith('.py') and |
6 |
not f.startswith('__')] |
7 |
__all__.sort() |
8 |
|
9 |
for f in __all__: |
10 |
__import__(__name__ + '.' + f) |
11 |
|
12 |
del f, ref_dir
|
13 |
|
14 |
__doc__ = """\
|
15 |
Topical documentation
|
16 |
=====================
|
17 |
|
18 |
The following topics are available:
|
19 |
%s
|
20 |
|
21 |
You can view them by
|
22 |
|
23 |
>>> help(np.doc.TOPIC)
|
24 |
|
25 |
""" % '\n- '.join([''] + __all__) |
26 |
|
27 |
__all__.extend(['__doc__'])
|