From c31ef27c8f2957be966943529c93be10274a131f Mon Sep 17 00:00:00 2001 From: a2p1k02 Date: Fri, 1 Jan 2021 18:41:25 +0000 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82=D1=8C=20's?= =?UTF-8?q?rc/fb3.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/fb3.py | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 src/fb3.py diff --git a/src/fb3.py b/src/fb3.py deleted file mode 100644 index 4c00326..0000000 --- a/src/fb3.py +++ /dev/null @@ -1,12 +0,0 @@ -import sys -from zipfile import ZipFile -# from bs4 import BeautifulSoup -# from lxml import etree - - -def reader(): - files = input("Enter the path to file: ") - with ZipFile(files) as book: - for row in book.read('2/fb3/body.xml').decode('utf-8').splitlines(): - opened = open("test.txt", "a") - opened.write(row)