>>>>> Frank  <[EMAIL PROTECTED]> writes:

>>>> import random
>>>> from numpy import *
>>>> 
>>>> print random.randrange(10)
> Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
> AttributeError: 'module' object has no attribute 'randrange'
>>>> 

> Here it does not work.

Here's a clue.

======
>>> import numpy
>>> numpy.random 
<module 'numpy.random' from 
'/usr/lib/python2.4/site-packages/numpy/random/__init__.pyc'>
=======

Ganesan

-- 
Ganesan Rajagopal

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to