import os
s = os.listdir("qwe")
f = open("asd.txt", "w")
for i in range(0, 100):
try:
f.writelines(s[i] + ":" + "\n")
f.writelines(os.listdir("qwe\ ".strip() + s[i] + "\Wallets"))
f.writelines("\n" + "\n")
except:
continue
It prints data like this: dsadasda: ada.txtli.pysda.txt
elele: erti: file.txt
jhgjghjgh: new.txtpy.py
lolo: sdada: If there are lots of things in wallet it prints them together, how can i space between them?