+ 3
How does database work?!
Iâm start working with database and recently iâm writing an accounting program with python. I need to use database in my program but as offline, not depending on a server. So anybody can help me with databases?!đŁđ« In addition iâm heard about access but my OS is mac and unfortunately I canât use that program. I need somebody who know about databasesđđđ»
6 RĂ©ponses
+ 2
These are fun, and since you'll need to learn SQL, why not make it fun đ
SQL Murder Mystery http://mystery.knightlab.com/walkthrough.html
Here's the online version:
https://sql-murder-mystery.datasette.io/sql-murder-mystery
+ 1
will and i donât want to put database in online host server
+ 1
Gotcha, there must have been a miscommunication, from what I understand it'll help to know SQL when working with databases, if you don't already know SQL, the resource I shared was simply a nudge along that learning path, based on my personal experience learning SQL.
Here's what Google has to say about using SQLite with python:
https://www.sqlitetutorial.net/sqlite-python/
Best of luck đ
0
thanks, i hope this will be helpfulđđ»
but i search way to put database on my program dir not connect it to server because when i run program in different OS my database will not be there and program will crashâčïž
0
Vahid.VMB if you use sqlite, it does a database locally in a file. no internet or network needed.
you can code your app/program to check if a database file is available, if none is available, you can create a file and build the sqlite database tables from scratch and then your app can use it.