On Sun, 02 Aug 2009 08:53:50 -0700, Scott David Daniels
<scott.dani...@acm.org> wrote:

>Fred Atkinson wrote:
>>      How does one seed the rand() generator when retrieving random
>> recordings in MySQL?  
>
>It is not entirely clear what you are asking.  If you are talking about
>MySQL's random number generator, you are talking in the wrong newsgroup.
>If you are talking about Python's, does this work?
>     import random
>     random.seed(123542552)
>I'm not quite sure how you came to believe that Python controls MySQL,
>as opposed to using its services.
>
>--Scott David Daniels
>scott.dani...@acm.org

        I am coding in Python.  

        I am accessing a MySQL database.  

        I have a string to instruct the MySQL database to use the
'rand()' function to randomly choose one of the records in the
database.  

        I know how to seed it in PHP.  Does anyone know how to see it
from with Python?  

        Regards, 




                                                Fred 
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to