public marks

PUBLIC MARKS from dikiy with tags xml & replace

22 January 2008 10:30

ASPN : Python Cookbook : sed/awk : Python script to rename subdirectories of a directory tree, replace strings in files

(via)
I needed to write a sed/awk Python equivalent for walking into a directory tree and renaming certain subdirectories, while also looking into all xml files on the way and replacing/modifying certain strings in those files.

dikiy's TAGS related to tag xml

files +   html +   parser +   python +   replace +   script +   search +   xslt +