Trying to run this script
markbart.py but I'm getting this error below. I think this is about
pymarc perhaps holding things up. If my question sounds strange that's because my knowledge of python mostly comes from watching nature documentaries and
living close to the Florida Everglades.
File "marckbart.py", line 27, in <module>
for record in reader:
File "C:\Program Files\Python36-32\lib\site-packages\pymarc\reader.py", line 97, in __next__
utf8_handling=self.utf8_handling)
File "C:\Program Files\Python36-32\lib\site-packages\pymarc\record.py", line 74, in __init__
utf8_handling=utf8_handling)
File "C:\Program Files\Python36-32\lib\site-packages\pymarc\record.py", line 231, in decode_marc
self.leader = marc[0:LEADER_LEN].decode('ascii')
AttributeError: 'str' object has no attribute 'decode'
Tried changing the file encoding to UTF-8. And I first cleared this error about file -which is no longer supported -and should read open? I think I understand that this bit of code must read