Write a Python script to implement the shell command replace. The full syntax of this command is given below: replace -x regularExpression [-s string -f -a] [file1] [file2] The replace command copies file1 to file2, replacing an occurrence (or occurrences) of the string matched by regularExpression with the string specified by string. The square brackets ([ and ]) are not part of the command syntax, instead they indicate an argument may or may not be present. In other words, the only required command-line argument is the option parameter -x regularExpression. More information will be given regarding the command line parameters. I am mostly looking to do this using getopt module. Willing To Pay $20
Give me a sample Text file for input and expression and output file sample. I do python programming for Blender see this is completely Python programming work to walk a 4 legged character. I will wirte a python program and execute, if I get success, I will inform you. But In a python program you have to change the variable values like Inputfile="c:/tmp.txt" outfile="c:/out.txt" find_str="sistem" repl_str="System" OK ? You have to chage these variable values and execute, the new file accordingly will be created. This I can do