Super newbie question D:
Kalle Svensson
kalle at gnupung.net
Mon Mar 4 18:15:46 EST 2002
[Joseph Youssef]
> how do I generate a random number in Python, I used to know but I forgot :'(
Look at the module random.
http://python.org/doc/current/lib/module-random.html
Peace,
Kalle
--
Kalle Svensson (kalle at gnupung.net) - Laziness, impatience, hubris: Pick two!
English: http://www.gnupung.net/ Svenska: http://www.lysator.liu.se/~kalle/
Stuff: ["http://www.%s.org/" % x for x in "gnu debian python emacs".split()]
More information about the Python-list
mailing list