Adam wrote:
We are running a numbers game at our retirement village and using a roulette wheel to generate the numbers. but this wheel is only about 12 in diameter and is little more than a toy. So we came up with the idea of using a random number generator to generate numbers from 0 to 36 and display them in large figures on my laptop. This is for the benefit of those people who are hard of hearing. They like to see what is happening.
I was an RPG programmer before retirement but am new to Python. So I used the following code to generate the numbers but I don't know how to display them in large figures (about 3 ins high) or get rid of the idle text.


from random import randint
rand = randint(0,36)
print rand

my os = XP

I'd suggest this as the possible best-bang-for-the-buck solution, at least in terms of quick success. If it's not good enough, at least you've got now a baseline to compare against.

In XP, under the Start menu, under All Programs then Accessibility
you should find a "Magnifier" tool.  Run this, right-click and change
the options to a magnification level of 9, then drag the window
somewhere convenient and make it a decent size.

Then run your Python script, and move the mouse near where the
output shows up.

The result is a "coarse" magnification of the font, as in individual
pixels will show up as large squares, but from any kind of distance
it's likely to look good enough to be usable...

And you don't need to learn a GUI framework to use it. :-)

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

Reply via email to