ComfyUI Node

File Read

テキストファイル全体を読み込みます

By TakkunRed·Created 4 months ago·Updated 3 months ago· 0
File Read
    • text
    • line_count
    • success
    file_path
    encodingauto
    strip_newline_endtrue
    CategoryString Function

    Inputs (3)

    NameTypeDefaultDescription
    file_pathSTRING
    encodingoptCOMBOauto4 options: auto, utf-8, utf-8-sig, cp932
    strip_newline_endoptBOOLEANtrueファイル末尾の改行を除去する

    Outputs (3)

    NameTypeDescription
    textSTRING
    line_countINT
    successBOOLEAN