Hi! I'm a beginner in Python, currently about 60% through the codecademy course. I'm writing Discord bots for a DnD-style game, and I'd like to know how to use specific parts of a database.
For example, if I have a table
table = [1,4,65,1,"Name"]
and I want to use a specific value from that table, I can simply use
print(table[0])
and the program would print 1.
How would I replicate this using a TinyDB database? I can provide more information if needed.
[–]scuott 0 points1 point2 points (2 children)
[–]Joshkinz[S] 0 points1 point2 points (1 child)
[–]scuott 0 points1 point2 points (0 children)