2009/11/27 baboucarr sanneh <sanne...@hotmail.com>:
> hi all
>
> i would like to create a python program that would read from a text file and
> returns one result at random.

This might be of use:

http://code.activestate.com/recipes/426332/#c2

-- 
Cheers,
Simon B.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to