Open liulsg opened 11 months ago
Originally it was added as a method of loading wildcard files. You set the name of the wildcard to use, and it parsed the wildcard file into a list under the dict key you chose
@WASasquatch
I created a text called "3.txt" that said:
{
'filename':
'a,',
'b,',
'c,'
}
I don't know why "text find replace by dictionary" doesn't work。
It replaces "filename" with one of the values in the dict from what I remember.
On Thu, Oct 26, 2023, 11:14 PM liulsg @.***> wrote:
@WASasquatch https://github.com/WASasquatch I created a text called "3.txt" that said: { 'filename': 'a,', 'b,', 'c,' } I don't know why "text find replace by dictionary" doesn't work。 [image: image] https://user-images.githubusercontent.com/97494068/278551119-cd7d1345-7179-4c01-b6ae-c137c4b09f3d.png
— Reply to this email directly, view it on GitHub https://github.com/WASasquatch/was-node-suite-comfyui/issues/254#issuecomment-1782355888, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZEZJYBPUTJP6YEM2SCZDYBNGLHAVCNFSM6AAAAAA6QQO3GCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBSGM2TKOBYHA . You are receiving this because you were mentioned.Message ID: @.***>
From what I gather:
From what I gather:
- The dictionary key is specified by the 'dictionary_name' argument. [filename] by default.
- The value associated with this key is a list containing all the lines of the text file. 1 value per line, no delimiters needed.
thanks,Your answer made me understand. thanks again
I would like to ask what is the standard form of dictionary. Can you give me an example?