im writing a quick quote reader that spits out a random quote from a  
show but cant get it to pick randomly
i tried
a=randrange(820)+1
text.readline(a)

and i would prefer not having to bring evryline into the program then  
picking like

for line in text.readlines():
        lines.append(text)

...



any help would be great thanks 
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to