Re: problems loading modules

2007-02-06 Thread Frank
Thanks guys! -- http://mail.python.org/mailman/listinfo/python-list

Re: problems loading modules

2007-02-04 Thread Ganesan Rajagopal
> Frank <[EMAIL PROTECTED]> writes: import random from numpy import * print random.randrange(10) > Traceback (most recent call last): > File "", line 1, in ? > AttributeError: 'module' object has no attribute 'randrange' > Here it does not work. Here's a clue. =

Re: problems loading modules

2007-02-04 Thread Ben Finney
"Frank" <[EMAIL PROTECTED]> writes: > >>> import random > >>> print random.randrange(10) > 8 > >>> > > Everything is fine. > > >>> import random > >>> from numpy import * > >>> > >>> print random.randrange(10) > Traceback (most recent call last): > File "", line 1, in ? > AttributeError: 'module'

Re: problems loading modules

2007-02-04 Thread Robert Kern
Frank wrote: > Hi, > > I have the following weird behavior when I load modules: > > import random print random.randrange(10) > 8 > > Everything is fine. > import random from numpy import * print random.randrange(10) > Traceback (most recent call last): > File "",

problems loading modules

2007-02-04 Thread Frank
Hi, I have the following weird behavior when I load modules: >>> import random >>> print random.randrange(10) 8 >>> Everything is fine. >>> import random >>> from numpy import * >>> >>> print random.randrange(10) Traceback (most recent call last): File "", line 1, in ? AttributeError: 'module