I am trying to build a app for a customer it is my first app which I try to make the database with Sqlite I couldn't make it every time that is an error or a mistake that's happened I didn't know what to do even trying to use chat gbt can someone please tell me how to do it correctly
https://github.com/Nadiriomos/EL-NAJAH-school
#๐ Stack at the DB of my application
24 messages ยท Page 1 of 1 (latest)
@wraith ginkgo
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
Closes after a period of inactivity, or when you send !close.
Whats the error?
I don't have an error I was trying to build the database with my basic knowledge of Sqlite3 in python but it's spiraled out of my control and didn't know what to do next after trying many many days I deleted the old version of it with the database I'm sharing the current version of it without any touching to the database my general question is how to do it correctly how to program is correctly the GitHub Repository have what I need into it
Do you know how to use sqlite?
I tried but couldn't git to work properly and always bugs that couldn't bet fixed even chat gpt
I tried to give up and do it with chat gpt but i didn't make work
stop using chatgpt. You said you have basic knowledge of sqlite
Do you know how to set up a database connection?
Conn Sqlite3.connect
wrong
Here's a tutorial for you to follow and learn how to use it properly https://docs.python.org/3/library/sqlite3.html#sqlite3-tutorial
Look the problems that I have faced is trying to print out these results and trying to connect this students I to make it to make the ID and connect it to the student's name and and also this is the main thing that I have crashed in I want a student to be able to be in multiple groups which I didn't know how
Look the problems you're facing is that you're relying on everything done by AI or by other people. You should take the effort to design your database tables, create your queries for adding, updating, deleting and searching for student's names in your database table
If you cannot handle reading the official docs, you can try your luck with searching on Youtube sqlite tutorials
Tried them first
Learning sqlite is not hard. Its a small module and if you sit down and do the work, you'll get it working
The other problem you keep having is that you "tried it all" but have nothing to show for it, including what you did and what error you hit into. If you can retry them, and share the error messages, we can help you specifically on how to overcome those obstacles
maybe because i have rashted to much
Take your time
Don't rush it
If you have questions on the sqlite tutorial, please ask now. @wraith ginkgo
Ok thanks man
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.