[SciPy-User] List Scipy submodules programatically
klo uo
klonuo at gmail.com
Sun Jan 8 06:42:56 EST 2012
Thanks, it shows fine that way
==================================================
import os, scipy
scipy_dir = os.path.dirname(scipy.__file__)
print [d for d in os.listdir(scipy_dir) if
os.path.isfile(os.path.join(scipy_dir, d + '/__init__.py'))]
==================================================
On Sun, Jan 8, 2012 at 12:15 PM, Robert Kern <robert.kern at gmail.com> wrote:
> os.path.dirname(scipy.__file__)
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20120108/15ef168d/attachment.html>
More information about the SciPy-User
mailing list