```
dbcard = await self.bot.pg_con.fetchrow("SELECT array (SELECT card_name FROM cardimages)")
dbcard = str(dbcard)
dbcard = dbcard[15:-2]
dbcard = dbcard.replace("\'","")
dbcard = dbcard.split(",")
await ctx.send(dbcard)```
I'm relatively new to python / databases so I'm sorry if this is a really easy question to solve! What I'm trying to do is to convert the information from a table column to a python list. In the original dbcard, I end up getting a value that's like this: To get rid of it, I change it to string (apparently it isn't string yet?), remove the sides, erase the quotations marks, and then split it into a list. I'm sure there's another much much more effective way of solving this!
Thanks! Below is the database.