In real work , We often need to use from N Find the content that needs to be replaced in documents , And carry out batch replacement . The task of this project is to teach you how to achieve more Word One click search and replacement of documents .
1) demand
In real work , We often need to use from N Find the content that needs to be replaced in documents , And carry out batch replacement .
2) Realization
The effect of implementation is to integrate the character ” One “ Replace with ”1“
The complete code is as follows :
changeFile.py