26 lines
326 B
Python
26 lines
326 B
Python
import subprocess
|
|
|
|
import os
|
|
|
|
from os.path import expanduser
|
|
home = expanduser("~")
|
|
|
|
mainCategory = ""
|
|
|
|
subCategory = ""
|
|
|
|
pageNumber = -1
|
|
|
|
|
|
while mainCategory == "":
|
|
try:
|
|
mainCategory = str(input("Main Category Of Document: "))
|
|
|
|
except:
|
|
|
|
mainCategory = ""
|
|
|
|
if mainCategory == "":
|
|
|
|
|