Spaces:
Runtime error
Runtime error
File size: 203 Bytes
4ac6d00 | 1 2 3 4 5 6 7 8 | import os
files = os.listdir(os.getcwd() + '/docs/processed')
result_string = ''
for idx, f in enumerate(files):
result_string += str(idx + 1) + '.' + f.split('_p')[0] + '<br>'
print(result_string)
|