Beispiel #1
0
def main():
    '''
    calls functions to print out required text
    '''
    #help("modules")
    for i in sys.argv:
        if i != sys.argv[0]:
            print(i)

    amount = 100
    authenticate_user()
    receive_income(amount)
    pay_expense(amount)
    #do_reconciliation()
    banking.do_reconciliation()
def run():
    # arg = sys.argv
    # for i in range(len(arg)):
    #     print(arg[i])

    if len(sys.argv) > 1:
        for i in range(1, len(sys.argv)):
            print(sys.argv[i])

    authentication.authenticate_user()
    journal.receive_income(100.00)
    journal.pay_expense(100.00)
    do_reconciliation()
    # reconciliation.do_reconciliation()
    # fvb_rec.do_reconciliation()
    # ubsa_rec.do_reconciliation()
    online.do_reconciliation()
Beispiel #3
0
from user import authentication
from transactions import journal
from banking import reconciliation
#from banking.fvb import reconciliation as fvb
#from banking.ubsa import reconciliation as ubsa
import sys
#from banking.online import reconciliation as online
#commenting to regrade!
#help("modules")
if len(sys.argv) > 1:
    for i in sys.argv[1::]:
        print(i)

if __name__ == '__main__':
    authentication.authenticate_user()
    journal.receive_income(100.00)
    journal.pay_expense(100.00)
    reconciliation.do_reconciliation()
    #fvb.do_reconciliation()
    #ubsa.do_reconciliation()
    #online.do_reconciliation()
Beispiel #4
0
from __init__ import *
from user.authentication import authenticate_user
from transactions.journal import receive_income, pay_expense
# import banking.reconciliation as bank
import banking
# import banking.ubsa.reconciliation as ubsa
import sys
# import banking.online.reconciliation as online

amount = 100

# def receive_income(amount):
#    print("[Journal] Received R{}".format(amount))

# def pay_expense(amount):
#     print("[Journal] Paid R{}".format(amount))

if __name__ == "__main__":
    if (len(sys.argv) > 0):
        for i in sys.argv[1:]:
            print(i)

    authenticate_user()
    receive_income(amount)
    pay_expense(amount)
    # bank.do_reconciliation()
    banking.do_reconciliation()
    # ubsa.do_reconciliation()
    # online.do_reconciliation()