3 messages in org.python.python-bugs-list[ python-Bugs-919014 ] Error with ran...
FromSent OnAttachments
SourceForge.netMar 18, 2004 2:33 pm 
SourceForge.netMar 19, 2004 1:45 am 
SourceForge.netMar 19, 2004 1:53 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[ python-Bugs-919014 ] Error with random moduleActions...
From:SourceForge.net (nore@sourceforge.net)
Date:Mar 19, 2004 1:45:05 am
List:org.python.python-bugs-list

Bugs item #919014, was opened at 2004-03-18 14:33 Message generated for change (Settings changed) made by rhettinger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=919014&group_id=5470

Category: Python Library Group: Python 2.3 Status: Open Resolution: None Priority: 5 Submitted By: Ga?tan (herlockg)

Assigned to: Raymond Hettinger (rhettinger)

Summary: Error with random module

Initial Comment: Hello,

I'm on a Intel Pentium4 3ghz running on Linux (2.4.22) I have an error when i use the random module

Just with these following lines: import random print random.randint(1,10)

I have this error: Traceback (most recent call last): File "plf", line 1, in ? import random File "/usr/lib/python2.3/random.py", line 4, in ? -------- AttributeError: 'module' object has no attribute 'randint'

I don't know what to do, i already recompiled python with different cflags...

Do you know something about it?

(I'm so sorry for my bad english. I hoop you've understood me)

Thank you.

Ga?tan.

----------------------------------------------------------------------