[Tutor] REQUIRED SUPPORT FOR CODE
Dear Sir/Madam I want to make Autocomplete searchbox using database .Please suggest me the code for this. Thanks & Regards Nitesh Kumar ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] REQUIRED SUPPORT FOR CODE
On 7/25/19 9:58 AM, NITESH KUMAR wrote: > Dear Sir/Madam > > I want to make Autocomplete searchbox using database .Please suggest me the > code for this. Your question leaves many more questions... A searchbox implies you're using a graphical toolkit. Which one do you intend to use (there are many available for Python)? Or is your gui a web browser maybe? What do you mean "search... using database"? Do you want the expanded text to be used to search a database? Or do you want to feed unexpanded entered text to a database to get it to give you back completion possibilities? Where would that data be coming from? As you just trying to replicate / replace Elasticsearch? and so on it's likely you can find some existing code for this on the web if you search a bit. It's a pretty specialized problem, don't know if anyone here has any specific places to point you to. Which isn't really what this list is for anyway. The normal model here is you try something and ask for help if you can't get it to work. Something like this: - Send a code example that illustrates your problem - If possible, make this a minimal example rather than an entire application. - Details on how you attempted to solve the problem on your own. - Full version information — for example, "Python 3.6.4 with discord.py 1.0.0a". Mention the operating system (Linux, Mac, Windows) as well. - The full traceback if your code raises an exception - Do not curate the traceback as you may inadvertently exclude information crucial to solving your issue. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] REQUIRED SUPPORT FOR CODE
On 25/07/2019 16:58, NITESH KUMAR wrote: > I want to make Autocomplete searchbox using database .Please suggest me the > code for this. Since you tell us next to noting we can only make wild suggestions. Try to find a project that does the same thing - ideally one written in Python (assuming that you are using python?) and see how it does it. Failing that provide us with a lot more detail. What kind of application is it? - Desktop? GUI? command line? Web based? Mobile app? What tools are you using - specifically any web or GUI toolkits. What OS and python versions are you using? What kind of database? How do you anticipate this would work? Give us some examples? # -- Alan G Author of the Learn to Program web site http://www.alan-g.me.uk/ http://www.amazon.com/author/alan_gauld Follow my photo-blog on Flickr at: http://www.flickr.com/photos/alangauldphotos ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
Re: [Tutor] REQUIRED SUPPORT FOR CODE
Dabo has an AutoComplete method. You review how it was done. Johnf On 7/25/2019 4:26 PM, Alan Gauld via Tutor wrote: On 25/07/2019 16:58, NITESH KUMAR wrote: I want to make Autocomplete searchbox using database .Please suggest me the code for this. Since you tell us next to noting we can only make wild suggestions. Try to find a project that does the same thing - ideally one written in Python (assuming that you are using python?) and see how it does it. Failing that provide us with a lot more detail. What kind of application is it? - Desktop? GUI? command line? Web based? Mobile app? What tools are you using - specifically any web or GUI toolkits. What OS and python versions are you using? What kind of database? How do you anticipate this would work? Give us some examples? # ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor