python code for Exporting scraped data to CSV
<pre><code>import csv     
in_txt = csv.reader(open(post.text, "rb"), delimiter = '\t')    
out_csv = csv.writer("C:\Users\sptechsoft\Documents\source3.csv", 'wb')    
out_csv.writerows(in_txt)
</code></pre>

<p>when executing above code i am getting IO error and i need to save in CSV in seperate folder</p>

<p><a href="https://i.stack.imgur.com/e7Dwp.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e7Dwp.jpg" alt="Output shown as IO error"></a></p>