Ask coding questions

← Back to all posts
Setting Up a Database
[deleted]

Who knows how to set up a database for my arcade so that I can store user id, password, et. Thanks!

Answered by Coder100 (12434) [earned 5 cycles]
View Answer
Commentshotnewtop
Coder100 (12434)

You can use repl.it db!

from replit import db

db['USERNAME'] = { 'password': 'PASSWORD', ... }
[deleted]

@Coder100
Thanks!

[deleted]

@Coder100
:) Could you help me make a game? I will invite you.
Thanks!

[deleted]

@Coder100
Thanks :)

[deleted]

@Coder100
I have invited you. Please click on the invite. Thanks! :)

RYANTADIPARTHI (3231)

You can import either sqlite3 or repl.it db

from replit import db 
# or 
import sqlite3

You can use either