Example #1
0
    def processfile(self):
        """ this does the processing out to the final csv """
        filename = self.getfilenamefromselection()

        self.filebox.insert(END, "Processing file: %s" % filename)
        billfile = BillFile(self.parsedir + "/" + filename)
        billfile.writefiles()
        self.bills.append(billfile)
        self.filebox.insert(END, "Completed processing file %s" % filename)
Example #2
0
    def processfile(self):
        """ this does the processing out to the final csv """
        filename = self.getfilenamefromselection()

        self.filebox.insert(END, "Processing file: %s" % filename)
        billfile = BillFile(self.parsedir + "/" + filename)
        billfile.writefiles()
        self.bills.append(billfile)
        self.filebox.insert(END, "Completed processing file %s" % filename)
Example #3
0
import re, os
from Tkinter import *
import tkMessageBox
import tkFileDialog
import tkFont
from tools import *

from controller import Controller


class TBillApp:
    """ this is the core of the application """

    def __init__(self, master=None):
        master.title("TBill")
        self.controller = Controller(master)


def main():
    root = Tk()
    app = TBillApp(root)
    root.mainloop()


if __name__ == "__main__":
    # main()
    from billfile import BillFile

    billfile = BillFile("RCP66516.DAT")
    billfile.writefiles()
Example #4
0
#import sys
import re,os
from Tkinter import *
import tkMessageBox
import tkFileDialog
import tkFont
from tools import *

from controller import Controller



class TBillApp():
        """ this is the core of the application """
        def __init__(self, master=None):
                master.title("TBill")
                self.controller = Controller(master)

def main():
        root = Tk()
        app = TBillApp(root)
        root.mainloop()
        
if  __name__ == '__main__':
       # main()
	from billfile import BillFile
	billfile = BillFile( "RCP66516.DAT" )
	billfile.writefiles()