Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs

How do I manage my keys?

How do I delete, or just view and edit my keys without printing them in the python terminal?

2 years ago
You are viewing a single comment. View All

In replit db I think it's like this:

#edit a key db[key] = new_value #delete a key del db[key] #print a key print(db[key]) #list all keys keys = db.keys() for key in keys: print(db[key])


2 years ago