<div dir="ltr">I have a text file whose contents are like this:-<br><br>jd|fj|dnv|jd|0.33|c:\\windows\\win32<br>shcbsbs|nscsjsj|0.93|hsbcjsnc<br><br>I am trying to read the file like this:-<br><br>>>> x = open("c:\\a.txt","r")<br>
>>> x.read()<br><br>the result that i get is ike this:-<br>'jd|fj|dnv|jd|0.33|c:\\\\windows\\\\win32\nshcbsbs|nscsjsj|0.93|hsbcjsnc\n'<br><br>My doubt is how can i read the file as it is?<br><br> ie my output should be<br>
<br>d|fj|dnv|jd|0.33|c:\\windows\\win32<br>
shcbsbs|nscsjsj|0.93|hsbcjsnc<br><br><br>Thanks in advance<br></div>