Ask coding questions

← Back to all posts
Database for my Python Arcade.

I really want a database for my Python arcade, but I have no idea about how to make one. Could somebody who knows how to make a good database for a python program help me build it? Thanks!

Answered by RYANTADIPARTHI (6021) [earned 5 cycles]
View Answer


You can use either sqlite3 or db you just have to import them.

from replit import db
# or
import sqlite3

Any of them should work


OK. Thanks. Please tell me edits and modifications I should implement in my arcade.


@dhruvkumarrajan well, i would suggest using replit db, all you need to do if you want to save a variable is

varname = db.keys()

that saves.