Created .gitignore; Added basic checks for data input in main.py.

This commit is contained in:
eworc778 2024-08-19 21:00:08 +01:00
parent 9026a2039b
commit f3835dbb63
2 changed files with 26 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
file.jpg

25
main.py
View File

@ -0,0 +1,25 @@
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 == "":