Re: [Tutor] Random module error

2008-05-15 Thread Guess?!?
nt said. > > Hope that works. > > Chris > > > > *"Guess?!?" <[EMAIL PROTECTED]>* > Sent by: [EMAIL PROTECTED] > > 05/15/2008 03:48 PM >To > "Kent Johnson" <[EMAIL PROTECTED]> > cc > tutor@python.org Subject

Re: [Tutor] Random module error

2008-05-15 Thread christopher . henk
AIL PROTECTED]> Sent by: [EMAIL PROTECTED] 05/15/2008 03:48 PM To "Kent Johnson" <[EMAIL PROTECTED]> cc tutor@python.org Subject Re: [Tutor] Random module error Hello Kent, I dont have any program with name random.py. I am using swampy API ( http://allendowney.com/swampy/in

Re: [Tutor] Random module error

2008-05-15 Thread Guess?!?
Hello Kent, I dont have any program with name random.py. I am using swampy API ( http://allendowney.com/swampy/install.html) As instructed by author, I do following steps 1> unzip/extract the folder into Python directory 2> go to the swampy directory 3> and invoke python command to start interpre

Re: [Tutor] Random module error

2008-05-15 Thread Kent Johnson
On Thu, May 15, 2008 at 3:00 AM, Guess?!? <[EMAIL PROTECTED]> wrote: > Hello All, > > I am importing module "random" and it is giving me this error > below AttributeError: 'module' object has no attribute 'randrange' You have named your program random.py. The import finds your program rather than

[Tutor] Random module error

2008-05-15 Thread Guess?!?
Hello All, I am importing module "random" and it is giving me this error below AttributeError: 'module' object has no attribute 'randrange' What could be the reason for this? When I chk API ..random module has a function randrange .. >>> from TurtleWorld import * Traceback (most recent call