Ask a question to get started
Enter to sendā¢Shift+Enter new line
edit( self, file_path: str, old_string: str, new_string: str, replace_all:
file_path
str
Virtual path to the file.
old_string
Exact substring to find.
new_string
Replacement text.
replace_all
bool
False
Replace text in an existing file.
If True, replace every occurrence; otherwise require exactly one match.
True