Add files via upload
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
import os
|
||||
import sys
|
||||
from h2inc_parser import parseline, parseparsed
|
||||
from h2inc_gui import currentfile_update
|
||||
import h2inc_gui
|
||||
|
||||
tupline = []
|
||||
@@ -57,6 +58,7 @@ def process_files(sourcedir, destdir):
|
||||
filehandle = open(f, 'r')
|
||||
#cnt += 1
|
||||
print(os.path.basename(f))
|
||||
currentfile_update(os.path.basename(f))
|
||||
for lines in filehandle:
|
||||
print(lines)
|
||||
preproc = preproc+tuple([parseline(lines)])
|
||||
|
||||
@@ -158,6 +158,9 @@ class h2incGUI:
|
||||
def cfileprogress_update(cnt):
|
||||
self.cfilevar = cnt
|
||||
|
||||
def currentfile_update(current):
|
||||
self.currentfile = 'Current file: '+current
|
||||
|
||||
root = Tk()
|
||||
root.update()
|
||||
#root.minsize(350, 210)
|
||||
|
||||
Reference in New Issue
Block a user