Nodes/ComfyLab Pack/List: from File (backend) (lab)
ComfyUI Node

List: from File (backend) (lab)

Read a multiline text file and send its content as a list By default the list elements are strings, but they can be converted.

By bugltd·Created 2 years ago·Updated about a year ago· 10
List: from File (backend) (lab)
    • list
    • count
    file_path
    strip_commentstrue
    convertdisabled
    CategoryComfyLab/list

    Inputs (3)

    NameTypeDefaultDescription
    file_pathSTRINGfull path to file (backend)
    strip_commentsBOOLEANtrueignore lines starting with '#'
    convertCOMBOdisabledconvert each value to int, float or boolean for booleans, values like true/false, yes/no, on/off, 0/1... are accepted.

    Outputs (2)

    NameTypeDescription
    listLISTlist of values (one per line, optionally converted)
    countINTnumber of values