[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] RandomArray



On Tuesday 08 May 2007 09:38:17 pm Ian Clark wrote:
> On 5/8/07, Fernando Martin <fmpalermo@xxxxxxxxx> wrote:
> > Hi i cant use the random_integers function
> >
> >
> >
> > from RandomArray import *
> > map = random_integers(1,0, (5,5))
> >
> >
> > Output: -->ImportError: No module named RandomArray
> >
> >
> > how can use the function? Thanks
>
> Make sure that you have numpy correctly installed as RandomArray is a
> module inside numpy.
>
> Homepage http://numpy.scipy.org//
> Download
> http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=17510
>3
>
> Ian


you should have typed:

from numpy import *

tell us if that works.