You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from os import listdir
|
|
from os.path import isfile, join
|
|
files_list = [f for f in listdir('/home/students') if isfile(join('/home/students', f))]
|
|
print(files_list); |