import sys import HW5_mod import HW5_mod7 st=sys.argv[1] t=st.index('/') n=st.index('.') inp2=st[t+1:n] c,r=HW5_mod.main(sys.argv[1],inp2) b,m=HW5_mod7.main(sys.argv[1],inp2) if b >= c: print r else: print m
import sys import HW5_mod #st=sys.argv[1] #t=st.index('/') #n=st.index('.') #inp2=st[t+1:n] c,r=HW5_mod.main('cont_recordings/2_2.mfcc','5245195411') #import HW5_mod c,r=HW5_mod.main('cont_recordings/4_3.mfcc','5955473454') #c,r=HW5_mod.main('cont_recordings/2_2.mfcc','5245195411') # if b >= c: # print r # else: # print m