Hello Mac, Thanks for the tip.
I was aware of an and considered using it. I decided not to use it unless I have no other choice. Although it does exactly what I am after: a) I don't want to use any dependencies other than Python's built in modules b) You hit it right in the nose when you said: "doing things by yourself is more exciting and fun (and above all you have the pleasure to learn something new)" If I did use it I will have learned nothing. The whole purpose of starting this project was so I could learn python. I do so very much enjoy learning new things. The rest of the game is going well. So for I've figured out how to: 1. Create the gui 2. Pick a word from a list 3. Scramble the letters 4. Display them in a drawing area 5. Allow user to click the letters to make a word 6. Check the guessed word against a list of words 7. If matched guessed word is added to a treeview (list box) I am confidant that i can create functions for: 1. Scoring points 2. Advancing to next round 3. Saving the game 4. Polish the gui, etc The only thing I am having problems with (so far) is this algorithm which would let the player know how many words are left to guess. When I am finished this project, I plan to post it somewhere so that others can learn from it too. Peace, kreglet Mac Ryan wrote: > > > Of course doing things by yourself is more exciting and fun (and above > all you have the pleasure to learn something new), but if you finally > should decide to invoke an external utility (e.g.: for performance > issues), then you might be interested in using "an": it's very fast and > in the repositories of most linux distro. It has plenty of options. > Example usage: > > an -m4 -w python [search only for single words in the dictionary with a > minimum length of 4 letters] returns: > hypo > phony > pony > python > tony > typo > > Good luck with your project, > Mac. > > _______________________________________________ > Tutor maillist - Tutor@python.org > http://mail.python.org/mailman/listinfo/tutor > > -- View this message in context: http://www.nabble.com/Algorithm-tp25107922p25119206.html Sent from the Python - tutor mailing list archive at Nabble.com. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor