Похожие чаты

Anyone can help me ? Now we have a database

with English words in it. here we have to make a guess

Our word is: Apple.

What do I need to write a program that can calculate the percentage of occurrence of the letter "A" when I write the letter "P" and then the letter "P", "L" and "E" again?

12 ответов

15 просмотров

What do you mean?

M.Furkan- Автор вопроса
Pedro Aguiar
What do you mean?

In short, word prediction app. with the words in the database

Do you mean that you want to get the most likely words that can follow after "A" has been typed? And then after "Ap" has been typed and so on?

M.Furkan- Автор вопроса
M.Furkan
yes of course.

it was not very clear from your question :P btw I'm pretty sure there are index libraries that can help you with this issue, without having to write it on your own

M.Furkan- Автор вопроса
Alessio
it was not very clear from your question :P btw I'...

sorry my English , can you help me. can you show me how to do it?

M.Furkan
sorry my English , can you help me. can you show m...

it depends what you need it for. If it's a user feature why do you need python? I mean, if it's on a frontend, you probably want to look for a javascript solution (if we're talking about web stuff) and/or possibly an sql (if your database is sql) solution

M.Furkan- Автор вопроса
Alessio
it depends what you need it for. If it's a user fe...

no just i have db file. i want to see this result in terminal

M.Furkan
no just i have db file. i want to see this result ...

First you have to get the typed letters, you can't use input but you need a thirdy part library like curses When you're ready to get the typed letters once per time, you can create a simple query to the database This things are simpler using GUI or browsers

M.Furkan- Автор вопроса
M.Furkan
How can I do it easy using GUI

Each toolkit behaves differently First get if tkinter allows you to get the pressed keys for the entries

M.Furkan- Автор вопроса

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта