Ask coding questions

← Back to all posts
Database for my Python Arcade.
[deleted]

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
Comments
hotnewtop
RYANTADIPARTHI (6021)

Two

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

from replit import db
# or
import sqlite3

Any of them should work

[deleted]

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

RYANTADIPARTHI (6021)

@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.