multi search and replace in multi files with python
-
hello
i have found a python script to do Multiple word search and replace.
it seems to woth with python script plugin
is it possible to use it with notepad++ in many files inside directories?
how?
a great thank -
Use a python
forloop inside the script. you would do a for loop on all the files in the directory or directories, then for each one of those files, usenotepad.open()to open that file, then do the main contents of your existing script, thennotepad.save()andnotepad.close().If you don’t know how to loop on all the files in a group of directories in Python, that’s a standard Python question which is not Notepad++-specific, so you can find help for that in standard Python documentation or help locations.
-
thanks will try to find
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login