Answers for "how to print content of a directory in python"

0

python program to print the contents of a directory using os module

import os
li = os.listdir(".")
print(li)
Posted by: Guest on February-24-2021

Code answers related to "how to print content of a directory in python"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language