Local variable in a closure

2013-08-18 Thread w . w . milner
Is f local or not? http://pastebin.com/AKDJrbDs -- http://mail.python.org/mailman/listinfo/python-list

Re: [Tutor] Having Issues with CMD and the 'python' command

2008-12-16 Thread W W
On Mon, Dec 15, 2008 at 9:56 AM, Benjamin Kaplan benjamin.kap...@case.eduwrote: It's not a question of sensibility. It's a question of purpose. The Zen is the philosophy of a language that tries to be easy to learn and easy to use. Python is used by programmers who want to experiment with it,

Re: [Tutor] python gui

2008-06-11 Thread W W
. Any references ? www.google.com Norman linked to a fairly interesting project. Hope this helps, Wayne On Wed, Jun 11, 2008 at 4:18 PM, W W [EMAIL PROTECTED] wrote: On Wed, Jun 11, 2008 at 8:03 AM, Gabriela Soares [EMAIL PROTECTED] wrote: Greetings, I want to make a dynamic dashboard

Re: Comparing 2 similar strings?

2005-05-28 Thread Rob W. W. Hooft
After reading this thread, I have wrapped up a different approach, probably not what you were looking for, but it is very good for what I wanted: comparing a command string typed by a user with all possible commands a program can accept, to be able to do typo-correction. The method will return

Re: Comparing 2 similar strings?

2005-05-28 Thread Rob W. W. Hooft
Irmen de Jong wrote: Wouldn't it be easier if it is normalized to a float between 0.0 and 1.0? Maybe. You could do that by ignoring negative values, and by dividing by min(len(s1),len(s2))+1. For my application this is irrelevant, I only need a scale to compare a single word to many different