import mwxml
import re
import copy
import csv
path = '/public/dumps/public/enwiki/20190520/enwiki-20190520-all-titles-in-ns0.gz'
import gzip
f = gzip.open('/public/dumps/public/enwiki/20190520/enwiki-20190520-all-titles-in-ns0.gz', 'rb')
file_content = f.read()
f.close()
pr
bytes