alex cole

hacker
@yoursoulsaver (0)
yoursoulsaver
yoursoulsaver shared a Post
4 months ago
1
How to convert repl database to json?
Ask
Hi there, im fiddling around with the repl database and in my code i wanted to get a database value and convert it to a json file for my code to read.Read full post
RECENT REPLIES
OldWizard209
OldWizard209 4 months ago
Replit saves database values as JSON. So let's say you save two values into the databse, Name: "John, Age: 21. In the database, the values will be in this format: db{ Name: "John, Age: 21 } However, if you want to store an object into the db, you can do that, simply by assigning the object as the value to the key. So added on to the existing db: db{ Name: "John, Age: 21 Siblings: { s1: "Alan", s2: "Elina", s3: "Mark" } } `
yoursoulsaver
yoursoulsaver shared a Post
1 month ago
1
Http wsgi server not able to access replit database.
Ask
Hi so i was mucking around with http servers but when i ran it with wsgi it could not access the replit database. This is the error i get: RecursionErRead full post
RECENT REPLIES
yoursoulsaver
yoursoulsaver 1 month ago
Nvm i fixed it.
yoursoulsaver
yoursoulsaver shared a Post
5 months ago
1
Why cant the server bind to repl?
Ask
I cant seem to get my server script to bind to repl and listen on the port. Is this because repl is blocking me or something else? https://replit.com/
server
Python
Read full post
RECENT REPLIES
VulcanWM
VulcanWM 5 months ago
I don’t think socket works in Python. You need to use flask_socketio instead