I have lots of files in a database and with a command I can retrieve information from a file, but the problem is that I get this very abstract result, for example
`[File({'added_on': 1720455648, 'amount_left': 0, 'size': 1460305985, 'content_path': 'A:Very Very Important Folder', 'name': 'Important File1.pdf', 'format': 'pdf'})]`
I’ve searched the internet for all kinds of solutions but haven’t found anything…
What I’d like to do is just separate the data and make, for example, a name
variable that is equal to its associated data (in this case “Important File1.pdf”).
And at the same time do the same thing with the other variables
I don’t know if my request is very clear
It may seem very simple, but I’m a Python beginner, so I don’t know much about it.
Sorry, and thanks in advance
I did a lot of googling but nothing was really explicit to help me.
I also tried to help myself via the add-on I use but it’s not very advanced.
Whykioh is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.