File tree Expand file tree Collapse file tree 1 file changed +54
-9
lines changed
Expand file tree Collapse file tree 1 file changed +54
-9
lines changed Original file line number Diff line number Diff line change 11
2+ def main ():
23
3-
4- if __name__ == "__main__" :
5-
6- print ("PyMuPDF Command Line App" )
4+ print ("\n PyMuPDF Command Line App" )
75
86 print ("\n \n " ,"Pages" ,"\n " )
97
10- print ("\t merge" )
8+ print ("\t merge - split " )
119
12- print ("\t move" )
10+ print ("\t move - delete - fcopy " )
1311
1412 print ("\n \n " ,"Embed files" ,"\n " )
1513
2119
2220 print ("\n \n " ,"Images" ,"\n " )
2321
24- print ("\t pixmap" )
22+ print ("\t pixmap - getimages" )
23+
24+ print ("\n \n " ,"Security" ,"\n " )
2525
26- goto = input ("Function#: " )
26+ print ("\t encrypt - decrypt" )
27+
28+
29+ goto = input ("\n Function: " )
30+
31+ print ("\n " )
2732
2833 if (goto == "htmlbox" ):
2934
4348
4449 elif (goto == "search" ):
4550
46- import search
51+ import search
52+
53+ elif (goto == "delete" ):
54+
55+ import delete
56+
57+ elif (goto == "fcopy" ):
58+
59+ import fcopy
60+
61+ elif (goto == "encrypt" ):
62+
63+ import encrypt
64+
65+ elif (goto == "decrypt" ):
66+
67+ import decrypt
68+
69+ elif (goto == "getimages" ):
70+
71+ import getimages
72+
73+ elif (goto == "split" ):
74+
75+ import split
76+
77+
78+ more = input ("Continue? (y/n): " )
79+
80+ if (more .strip ().lower () == "y" ):
81+
82+ main ()
83+
84+ else :
85+
86+ print ("Exiting..." )
87+
88+
89+ if __name__ == "__main__" :
90+
91+ main ()
You can’t perform that action at this time.
0 commit comments