コード例 #1
0
def findall(paths):
    rlist = []
    for x in paths:
        rlist += data_and_CV_handler.list_files(
            x, contains_not='.hdr') if data_and_CV_handler.os.path.isdir(
                x) else [x]
    return rlist
コード例 #2
0
def findall(paths):
    """
    locate and return all files in the paths (list of directory/file names)
    """
    rlist=[]
    for x in paths:
        rlist += data_and_CV_handler.list_files(x) if data_and_CV_handler.os.path.isdir(x) else [x]
    return rlist
コード例 #3
0
def findall(paths):
    """
    locate and return all files in the paths (list of directory/file names)
    """
    rlist = []
    for x in paths:
        rlist += data_and_CV_handler.list_files(
            x) if data_and_CV_handler.os.path.isdir(x) else [x]
    return rlist
コード例 #4
0
def findall(paths):
    rlist=[]
    for x in paths:
        rlist += data_and_CV_handler.list_files(x, contains_not='.hdr') if data_and_CV_handler.os.path.isdir(x) else [x]
    return rlist