Refactoring #1

Merged
SiberiaBreadFactory merged 12 commits from a2p1k02/fb3test:master into master 2021-01-01 18:49:16 +00:00
Showing only changes of commit 1c9a74d70b - Show all commits

View File

@ -1,7 +0,0 @@
from zipfile import ZipFile
from bs4 import BeautifulSoup
from lxml import etree
with ZipFile('1.fb3') as book:
for row in book.read('fb3/body.xml').decode('utf-8').splitlines():
print(row)