Python error - can't assign to literal
<pre><code>FileName = 'Binarydata.dat'
BinaryFile = open(FileName, 'r')
for '0' in BinaryFile:
    print('')
else:
    print('@')
BinaryFile.close() 
</code></pre>

<p>I am receiveing the error <code>SyntaxError - can't assign to literal</code> when trying to run this code. This is just a small part of the code. The rest is working correctly. I can't figure out why this is not working.</p>
