Nodes/comfyui_dynamic/dynamic_load_text_file
ComfyUI Node

dynamic_load_text_file

Loads the content of a text file. The content is returned as a string.

By inkbottle-9·Created 8 months ago·Updated about a month ago· 0
dynamic_load_text_file
    • content
    • exception
    file_path
    encodingutf_8
    Categorydynamic/utils

    Inputs (2)

    NameTypeDefaultDescription
    file_pathSTRINGThe full path to the text file to load. (e.g. E:/dir/script.py)
    encodingCOMBOutf_8The encoding to use for reading the file.

    Outputs (2)

    NameTypeDescription
    contentSTRINGThe content of the file.
    exception*Exception information or None.