Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list cwd python

import os
files_and_dirs = [f for f in os.listdir('.')]
files = [f for f in os.listdir('.') if os.path.isfile(f)]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #list #cwd #python
ADD COMMENT
Topic
Name
5+3 =