<reponame>SayanGhoshBDA/code-backup<filename>python/python_backup/Python_Progs/PYTHON_LEGACY_PROJECTS/list_all_dir.py<gh_stars>10-100
from os import listdir
from os.path import isfile,join

files_list=[f for f in listdir('/root/Python_Progs')if isfile(join('/root/Python_Progs',f))]
print(files_list)
from os import listdir
from os.path import isfile,join

files_list=[f for f in listdir('/root/Python_Progs')if isfile(join('/root/Python_Progs',f))]
print(files_list)