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.
List: from File (backend) (lab)
- list
- count
◄file_path►
◄strip_commentstrue►
◄convertdisabled►
CategoryComfyLab/list
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| file_path | STRING | full path to file (backend) | |
| strip_comments | BOOLEAN | true | ignore lines starting with '#' |
| convert | COMBO | disabled | convert each value to int, float or boolean for booleans, values like true/false, yes/no, on/off, 0/1... are accepted. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| list | LIST | list of values (one per line, optionally converted) |
| count | INT | number of values |