On Tue, Aug 5, 2014 at 3:47 PM, Satish ML <satishmlwiz...@gmail.com> wrote:
>>>>bytes = file.read()

You've just shadowed the built-in type 'bytes' with your own 'bytes'.
Pick a different name for this, and you'll be fine. 'data' would work.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to