basefunctions/account_ident.py
def accinfo_dict_writer(folder_raw, filename):
    '''function needed for development. Prints necessary code to be implemented in account info text file'''

    #read in account info dictionary excel
    acc_info_read = pd.read_excel(folder_raw+filename+'.xlsx', sheet_name='Data')

    #Print out entries in Excel in the correct way for integration in code:
    print('Liste der Einträge im Kontoinfo Dictionary:\n\n')
    for entry in range(0, len(acc_info_read)):
        print('Kontotyp:'+acc_info_read.iloc[entry][0]+'\n')
        print(acc_info_read.iloc[entry][0]+'_info = ('+acc_info_read.iloc[entry][1]+', '+acc_info_read.iloc[entry][2]+', '+acc_info_read.iloc[entry][3]+', '+acc_info_read.iloc[entry][4]+', '+acc_info_read.iloc[entry][5]+')\n\n')
function needed for development. Prints necessary code to be implemented in account info text file
function needed for development. Prints necessary code to be implemented in account info text file
function needed for development . Prints necessary code to be implemented in account info text file
def accinfo_dict_writer(folder_raw, filename):
    acc_info_read = pd.read_excel(folder_raw+filename+'.xlsx', sheet_name='Data')
    print('Liste der Einträge im Kontoinfo Dictionary:\n\n')
    for entry in range(0, len(acc_info_read)):
        print('Kontotyp:'+acc_info_read.iloc[entry][0]+'\n')
        print(acc_info_read.iloc[entry][0]+'_info = ('+acc_info_read.iloc[entry][1]+', '+acc_info_read.iloc[entry][2]+', '+acc_info_read.iloc[entry][3]+', '+acc_info_read.iloc[entry][4]+', '+acc_info_read.iloc[entry][5]+')\n\n')
def accinfo_dict_writer ( folder_raw , filename ) : acc_info_read = pd . read_excel ( folder_raw + filename + '.xlsx' , sheet_name = 'Data' ) print ( 'Liste der Einträge im Kontoinfo Dictionary:\n\n') for entry in range ( 0 , len ( acc_info_read ) ) : print ( 'Kontotyp:' + acc_info_read . iloc [ entry ] [ 0 ] + '\n' ) print ( acc_info_read . iloc [ entry ] [ 0 ] + '_info = (' + acc_info_read . iloc [ entry ] [ 1 ] + ', ' + acc_info_read . iloc [ entry ] [ 2 ] + ', ' + acc_info_read . iloc [ entry ] [ 3 ] + ', ' + acc_info_read . iloc [ entry ] [ 4 ] + ', ' + acc_info_read . iloc [ entry ] [ 5 ] + ')\n\n' )
function needed for development.
function needed for development .
'''function needed for development. Prints necessary code to be implemented in account info text file''' #read in account info dictionary excel #Print out entries in Excel in the correct way for integration in code:
folder_raw
filename