You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2020. It is now read-only.
Hello. I have simple data collected from YAZ commands.
yaz-client -m catalogue.dat
I am connecting to library which has MARC21 format and UTF-8 encoding.
I am saving records to catalogue.dat file. It's CZECH library so titles are with special characters for example Ř or Ě etc. when i will run this code:
def get_books(request):
with open('catalogue.dat', 'rb') as fh:
reader = MARCReader(fh)
for record in reader:
print(str(record.title()))
return HttpResponseRedirect('/')