Re: [Tutor] Question about autocomplete functionality
On Tue, Jun 12, 2012 at 3:38 PM, Joel Goldstick joel.goldst...@gmail.com wrote: On Tue, Jun 12, 2012 at 3:01 PM, Richard Querin rfque...@gmail.com wrote: Hi All, I wrote a small utility several months ago to easily search a project list (an excel spreadsheet) by project name or number etc. However I am thinking of expanding it with the following sort of functionality - the ability to add 'tags' to a given project (tags being just simple descriptive words about a given project). However, this is only really useful if I can keep a running list of all tags that have ever been entered and use a sort of autocomplete functionality to make them quicker to enter. And to reduce the number of, and discourage the use of, 'almost duplicate' tags. Are there any resources out there (libraries, tutorials etc) that could help me figure this sort of autocomplete functionality out? Thanks, Richard I think I messed up my post so trying again: If you want a GUI desktop sort of application check this out: http://www.freenetpages.co.uk/hp/alan.gauld/ There is a chapter on GUI programming that might give you some good ideas ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor -- Joel Goldstick -- Joel Goldstick ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Question about autocomplete functionality
On 12/06/12 20:01, Richard Querin wrote: tags that have ever been entered and use a sort of autocomplete functionality to make them quicker to enter. And to reduce the number of, and discourage the use of, 'almost duplicate' tags. Are there any resources out there (libraries, tutorials etc) that could help me figure this sort of autocomplete functionality out? IDLE does autocomplete so you could look at how it does it - since it is written in Python... The IDLE mailing list can probably help find the right source file. HTH, -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Question about autocomplete functionality
On Tue, Jun 12, 2012 at 3:01 PM, Richard Querin rfque...@gmail.com wrote: Hi All, I wrote a small utility several months ago to easily search a project list (an excel spreadsheet) by project name or number etc. However I am thinking of expanding it with the following sort of functionality - the ability to add 'tags' to a given project (tags being just simple descriptive words about a given project). However, this is only really useful if I can keep a running list of all tags that have ever been entered and use a sort of autocomplete functionality to make them quicker to enter. And to reduce the number of, and discourage the use of, 'almost duplicate' tags. Are there any resources out there (libraries, tutorials etc) that could help me figure this sort of autocomplete functionality out? Thanks, Richard ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor If you want a GUI desktop sort of application check this out: http://www.freenetpages.co.uk/hp/alan.gauld/ There is a chapter on GUI programming that might give you some good ideas -- Joel Goldstick ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Question about autocomplete functionality
However, this is only really useful if I can keep a running list of all tags that have ever been entered and use a sort of autocomplete functionality to make them quicker to enter. And to reduce the number of, and discourage the use of, 'almost duplicate' tags. Are there any resources out there (libraries, tutorials etc) that could help me figure this sort of autocomplete functionality out? I am sure there are examples of widgets that do autocomplete depending on which UI library you want to use. Here is an example for wxPython http://wiki.wxpython.org/TextCtrlAutoComplete . The discouraging of 'almost duplicate' tags is going to be more difficult because it probably requires someone to either merge tags or some intelligence to know that two tags are equivalent. For casual use, it would be more efficient to create a process where a moderator can merge tags. I suppose you could also disallow the use of new tags or have them put into a moderation queue. Ramit Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology 712 Main Street | Houston, TX 77002 work phone: 713 - 216 - 5423 -- This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Question about autocomplete functionality
If you want a GUI desktop sort of application check this out: http://www.freenetpages.co.uk/hp/alan.gauld/ There is a chapter on GUI programming that might give you some good ideas But that's a prehistoric version of the tutor :-) Use the link in my sig instead... -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] Question about autocomplete functionality
On 12/06/12 21:17, Prasad, Ramit wrote: The discouraging of 'almost duplicate' tags is going to be more difficult I understood the OP to simply mean that autocompletion would reduce the amount of mis-typing by only completing existing tag values therefore reducing misspellings etc. If that's correct it is a much simpler problem. Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor