hi all,<br>
<br>
Im new to python and am in need of a little help....<br>
<br>
Im attempting to write a program that finds and replaces text in all files in a given directory.<br>
<br>
example of running the program with arguments<br>
<br>
>python far.py /home/lee/Documents/ find replace<br>
<br>
I have managed to get it all working apart from one thing, if the find
or replace arguments contain quotes e.g( content="somat" ),  it
doesnt work, so I print the string and it shows as content=somat,
without the quotes.<br>
<br>
So i tryed this...<br>
<br>
>python far.py /home/lee/Documents content=\"somat\" content=\"somat else\"<br>
<br>
and this works, but I would like a way of not having to do this when i run the program<br>
<br>
any help would be greatly appreciated.<br>
<br>
thanks Lee.<br>