[Tutor] Random Numbers
Mike Wagman
mwagman@charter.net
Thu Jul 24 13:20:01 2003
One thing I chose as a starting to learn python exercise was random
number generation.
I wrote a command line dice roller, a Gui dice roller, and a module that
handles some fairly complex rolling. I ran it through py2exe and found a
free installer that works well but have not put the stand alone windows
one on the page yet.
http://www.geocities.com/mikewagman
Can't say it's the cleanest code on the planet - but I was quite new
then (still am fairly new). Found it a great learning experience.
On Thu, 2003-07-24 at 11:13, Michie DeBerry wrote:
> Hello,
> Allow me to start by introducing myself. My name is Michie, and I am currently
> reading Sam's Teach Yourself Python in 24 Hours. I was wondering if there is
> anyway to create a random number in Python. I am currently writting a program
> to create a password for you. It will have more features later on, but for
> right now, that is all I need it to do. Any suggestions as how to go about
> creating a random number x number of times to get a-z or 0-9 from a list?
> Thx,
> Michie (pronounced Mickey)
>
> _______________________________________________
> Tutor maillist - Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor