random picks from a list

Max Khesin max at cNOvSisiPonAtecMh.com
Thu Jun 12 16:07:11 EDT 2003


If we help you, do we get to share in the winnings? :)
BTW, I am sure that you know that what you are doing is mathematically
unsound, right?

--
========================================
Max Khesin, software developer -
max at cNvOiSsPiAoMntech.com
[check out our image compression software at www.cvisiontech.com, JBIG2-PDF
compression @
www.cvisiontech.com/cvistapdf.html]


"Rogue9" <rogue9 at ntlworld.com> wrote in message news:3ee8dbd6 at shknews01...
> Hi All,
> I´m working on a program for lottery analysing and need to generate
> random numbers from a filtered list of numbers i.e. I have reduced the
> likely ¨winning¨ numbers to a smaller pool and have them in a list. How
> do i use the random funtion in Python to pick random numbers from this
> list?Is this the use of the seq argument in the random function?
> The documentation does not cover the use of all the arguments available
> for this function and my attempts to use if have been a failure.
> Guidance would be very much welcome Pythonistas,
> Thanks
> Lol McBride






More information about the Python-list mailing list