This commit is contained in:
@@ -18,7 +18,10 @@ import sys
|
||||
import os
|
||||
from pathlib import Path
|
||||
|
||||
from pyweblayout_ereader import EbookReader
|
||||
# Add parent directory to path to import pyWebLayout
|
||||
sys.path.insert(0, str(Path(__file__).parent.parent))
|
||||
|
||||
from dreader.application import EbookReader
|
||||
|
||||
|
||||
def print_separator():
|
||||
|
||||
@@ -23,7 +23,10 @@ import os
|
||||
from pathlib import Path
|
||||
from typing import List
|
||||
|
||||
from pyweblayout_ereader import EbookReader
|
||||
# Add parent directory to path to import pyWebLayout
|
||||
sys.path.insert(0, str(Path(__file__).parent.parent))
|
||||
|
||||
from dreader.application import EbookReader
|
||||
from pyWebLayout.core.highlight import HighlightColor
|
||||
from PIL import Image
|
||||
|
||||
|
||||
@@ -12,7 +12,10 @@ Usage:
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
from pyweblayout_ereader import EbookReader
|
||||
# Add parent directory to path to import pyWebLayout
|
||||
sys.path.insert(0, str(Path(__file__).parent.parent))
|
||||
|
||||
from dreader.application import EbookReader
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
@@ -12,7 +12,7 @@ Perfect for understanding the basic query system.
|
||||
"""
|
||||
|
||||
from PIL import Image, ImageDraw
|
||||
from pyweblayout_ereader import EbookReader
|
||||
from dreader.application import EbookReader
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
@@ -18,7 +18,7 @@ This is useful for:
|
||||
from PIL import Image, ImageDraw
|
||||
import numpy as np
|
||||
|
||||
from pyweblayout_ereader import EbookReader
|
||||
from dreader.application import EbookReader
|
||||
from pyWebLayout.io.gesture import TouchEvent, GestureType
|
||||
from pyWebLayout.core.query import QueryResult
|
||||
|
||||
|
||||
Reference in New Issue
Block a user