import scipy help(scipy) (cluster, ndimage, optimize ...)