예제 #1
0
def writeBalloonData(condition, gender, participantID, isTesting):
	print "Writing Balloon data."
	prefix = 'hf-output-balloon-data-' + ('test' if isTesting else 'experiment') + '/'
	path = prefix + createPath(condition, participantID, gender)
	try:
		file = open('C:/' + path, 'a')
	except:
		file = open(path, 'w')
	file.write(BalloonsClasses.reportStats())
	file.close()
예제 #2
0
def report():
	print(BalloonsClasses.reportStats())