File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 3
3
'''
4
4
print ('Loading...' )
5
5
import keyboard
6
- from listen import listen
6
+ from interactive import listen
7
7
import sys
8
8
from myhttp import *
9
9
import subprocess
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python
2
2
3
3
'''
4
- Downloaded from: https://github.com/pmaupin/pdfrw
4
+ Original author: pmaupin
5
+ https://github.com/pmaupin/pdfrw
5
6
with minor modification by Daniel Chin for friendlier command-line calling
6
7
7
8
usage: py -m pdf_unspread my.pdf
15
16
16
17
import sys
17
18
import os
18
-
19
19
from pdfrw import PdfReader , PdfWriter , PageMerge
20
20
from jdt import Jdt
21
+ from interactive import listen
22
+ from os import system as cmd
21
23
22
24
def splitpage (src , ratio = .5 ):
23
25
''' Split a page into two (left and right)
@@ -47,3 +49,6 @@ def splitpage(src, ratio = .5):
47
49
jdt .acc ()
48
50
writer .write ()
49
51
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