I'm a beginner to python and i'm really struggling to make a chatbot, what should I do?
I'm trying to make a basic chat bot that remembers previous conversations how can a beginner do this with python?
- Learn about input...[Link down below]
Text file handling[link down below]
And if you really want this to be a serious project...
- Databases with SQL [link down below]
Also, if you want to make this public and turn it into HTML, JS and CSS...
- PHP [link down...below...]
So yes, you will have to learn all these.
Text file handling
Databases with SQL
I think you should save this project for later, when you are more experienced than a begginer, because SQL and PHP is sorta hard.
Since you are a beginner, I would recommend writing to a text file. Note this will only save local chats, someone else using your program can't permanently write to your text file, only you can. If you want to make a fully functional chat bot in Python, send a request to a flask server and write that onto a text file there. That would process and save everyone's chats. For now, just start off with working with text files.