YeongJunKim / issue

footprint of fixed error & some tips.
0 stars 0 forks source link

해당 폴더에 있는 파일들 이름순으로 list up 하기 #7

Open YeongJunKim opened 4 years ago

YeongJunKim commented 4 years ago

import os

tmp = os.listdir("/home/colson/temp/xml") import natsort

tmp = natsort.natsorted(tmp, reverse=False)

for i in tmp: print(i[0:13])

> train