#NEWLINE# @ expose ( 'directory-list' , [ values . W_Object ] ) #NEWLINE# def dir_list( w_str ) : #NEWLINE# #INDENT# s = extract_path ( w_str ) #NEWLINE# dir = [ values . W_Path ( p ) for p in os . listdir ( s ) ] #NEWLINE# return values . to_list ( dir )