Beispiel #1
0
def gensif(temp, f):
    infile2 = os.path.dirname(os.path.abspath(__file__)) + '/csvFiles/pred.csv'
    fh1 = open(infile2, 'w')
    for k in temp:
        k = int(k)
        print >> fh1, str(k)
    fh1.close()
    gengraph.main(f)
Beispiel #2
0
def gensif():
	infile2=os.path.dirname(os.path.abspath(__file__))+'/csvFiles/pred.csv'
	fh1=open(infile2,'w')
	for k in temp:
		k=int(k)
		print >>fh1,str(k)
	fh1.close()
	gengraph.main()