skrf.network
skrf.frequency
skrf.networkSet
skrf.plotting
skrf.taper
skrf.calibration.calibration
skrf.calibration.deembedding
skrf.vi
skrf.vectorFitting
skrf.qfactor
skrf.time
skrf.circuit
skrf.media.device
skrf.mathFunctions
skrf.tlineFunctions
skrf.instances
skrf.constants
skrf.data
skrf.util
Find/replace some txt in all files in a directory, recursively.
This was found in 1 .
directory (str) – path of a directory
find (str) – pattern to search for
replace (str) – string to replace with
file_pattern (str) – file pattern for filtering. Ex: ‘*.txt’.
Examples
>>> rf.findReplace('some_dir', 'find this', 'replace with this', '*.txt')
References
http://stackoverflow.com/questions/4205854/python-way-to-recursively-find-and-replace-string-in-text-files