Python writing unrecognizable characters at end of line
<p>I am using a windows7 machine and I cannot figure out why Python 3 is writing this character at the end of each line ਍ഀ</p>

<p>Here is my code:</p>

<pre><code>import csv

input_file = open('7.15.16.txt', 'r')
output_file = open('no_commas1.csv', 'w')
for line in input_file:
    line = line.replace(",", " ")
    output_file.write(line)
output_file.close()
input_file.close()
</code></pre>