forked from SiberiaBreadFactory/fb3test
Удалить 'src/fb3.py'
This commit is contained in:
parent
b13d664135
commit
c31ef27c8f
12
src/fb3.py
12
src/fb3.py
@ -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)
|
|
Loading…
Reference in New Issue
Block a user