Files
discord_bot/test2.py
2022-06-27 21:50:26 +03:00

13 lines
177 B
Python

from os import walk
f = []
for filenames in walk('audio'):
f.extend(filenames)
break
f = f[2]
files = {}
keys = range(len(f))
for x in f:
files[x] = x
print(files)