Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python3
- import glob
- lstFiles=glob.glob("*.*")
- lstFiles.sort()
- if len(lstFiles)>0:
- for i in lstFiles:
- print(f" {i}")
Advertisement
Advertisement