Answers for "how to show the contents of a current directory in python"

1

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 show the contents of a current directory in python"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language