Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2022 07:00 AM
Hi @pankaj92 ,
I wrote a Python code to pick a latest file from mnt location ,
import os
path = "/dbfs/mnt/xxxx"
filelist=[]
for file_item in os.listdir(path):
filelist.append(file_item)
file=len(filelist)
print(filelist[file-1])
Thanks