'I want to get all my mega.nz account folders names
I'm pretty new on Python and mega.nz api and I want to get all of my mega folder NAMES. I done this:
files = m.get_files()
print(files)
And my output is this:
'5Xxl1YpK': {'h': '5Xxl1YpK', 'p': '5apkxBRK', 'u': 'HeQAbozUSnY', 't': 1, 'a': {'n': 'MAIN'}, 'k': (236358726, 3714021502, 3609314937, 957702177), 'ts': 1649753591, 'shared_folder_key': (1341100632, 611479631, 4161937411, 5464436), 'key': (236358726, 3714021502, 3609314937, 957702177)}
I just want the name of de folder ("MAIN") and i don't know how to get it because it's not a normal dictionary. Thank's for help !
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
