<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="IncrediMail 1.0" name=GENERATOR></HEAD>
<BODY style="BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 12pt; MARGIN: 5px 10px 10px; FONT-FAMILY: Arial" bgColor=#ffffff background="" scroll=yes ORGYPOS="0">
<TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD id=INCREDITEXTREGION style="FONT-SIZE: 12pt; CURSOR: auto; FONT-FAMILY: Arial" width="100%">
<DIV> </DIV>
<DIV> </DIV>
<DIV id=receivestrings>
<DIV dir=ltr style="FONT-SIZE: 11pt"><I><B>From:</B></I> <A href="mailto:john@fouhy.net">John Fouhy</A></DIV>
<DIV dir=ltr style="FONT-SIZE: 11pt"><I><B>Date:</B></I> 02/19/06 19:01:26</DIV>
<DIV dir=ltr style="FONT-SIZE: 11pt"><I><B>To:</B></I> <A href="mailto:tutor@python.org">tutor@python.org</A></DIV>
<DIV dir=ltr style="FONT-SIZE: 11pt"><I><B>Subject:</B></I> Re: [Tutor] Generating small random integer</DIV></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>You need to tell python that randint is in the random module.</DIV>
<DIV> </DIV>
<DIV>ie, instead of calling randint(), call random.randint().</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>**********************</DIV>
<DIV> </DIV>
<DIV>oops. I should have know that.</DIV>
<DIV> </DIV>
<DIV>*********************</DIV>
<DIV> </DIV>
<DIV>Have you been through the tutorial on python.org? It is quite helpful.</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>***********************</DIV>
<DIV> </DIV>
<DIV>I skimmed it a couple of times.</DIV>
<DIV> </DIV>
<DIV>I did try to read it from "cover to cover", but too quickly got into places where I did not know</DIV>
<DIV>what it talked about.</DIV>
<DIV> </DIV>
<DIV>So I am falling back on the tactic of using it as a reference to look things up as I develope my program,</DIV>
<DIV>and if I can't find the answer there</DIV>
<DIV>to ask you guys.</DIV>
<DIV> </DIV>
<DIV>Kermit < <A href="mailto:kermit@polaris.net">kermit@polaris.net</A> ></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV></TD></TR>
<TR>
<TD id=INCREDIFOOTER width="100%">
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD width="100%"></TD>
<TD id=INCREDISOUND vAlign=bottom align=middle></TD>
<TD id=INCREDIANIM vAlign=bottom align=middle></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>