Problem with recognizing "\t" for vim in python output.

Posted by AlgoMan on Stack Overflow See other posts from Stack Overflow or by AlgoMan
Published on 2010-04-22T01:11:13Z Indexed on 2010/04/22 1:13 UTC
Read the original article Hit count: 394

Filed under:
|
|

I have a python code something like this

file_out.write(str(i).strip()+"\t"+str(dict1[i]).strip()+"\n")

But when i try to recognize this with vim by saying on the file that was written.

:%s/\t/|/g

But it does not recognize the \t

© Stack Overflow or respective owner

Related posts about python

Related posts about vim