File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33'''
44print ('Loading...' )
55import keyboard
6- from listen import listen
6+ from interactive import listen
77import sys
88from myhttp import *
99import subprocess
Original file line number Diff line number Diff line change 11#!/usr/bin/env python
22
33'''
4- Downloaded from: https://github.com/pmaupin/pdfrw
4+ Original author: pmaupin
5+ https://github.com/pmaupin/pdfrw
56with minor modification by Daniel Chin for friendlier command-line calling
67
78usage: py -m pdf_unspread my.pdf
1516
1617import sys
1718import os
18-
1919from pdfrw import PdfReader , PdfWriter , PageMerge
2020from jdt import Jdt
21+ from interactive import listen
22+ from os import system as cmd
2123
2224def splitpage (src , ratio = .5 ):
2325 ''' Split a page into two (left and right)
@@ -47,3 +49,6 @@ def splitpage(src, ratio = .5):
4749 jdt .acc ()
4850 writer .write ()
4951 jdt .complete ()
52+ print ('start briss? ' )
53+ if listen (['y' , 'n' ]) == b'y' :
54+ cmd ('briss ' + outfn )
You can’t perform that action at this time.
0 commit comments