Skip to content
Sign upLog in

Make a Copy of Replit DB (Python)

Profile icon
CodingElf66

Make a Copy of Replit DB (Python)

I really need help on this, so please help!
I will be rewarding whoever answers this 5 upvotes!

You are viewing a single comment. View All
Profile icon
ShivankChhaya

@CodingElf66
dbCopy = db[:]
the [], takes a portion of the iterable, and [:] will copy the entire iterable