def closeScoringFiles(): global filePointerForRuntimeScoring, filePointerForTimeRecording, filePointerForRuntimeNegativeScoring data_recording.closeFile(filePointerForRuntimeScoring) filePointerForTimeRecording.write(repr(some_global_variables.pausedTime) + "\n") data_recording.closeFile(filePointerForTimeRecording) filePointerForRuntimeNegativeScoring.write(repr(negativeScoreCounter) + "\n") data_recording.closeFile(filePointerForRuntimeNegativeScoring)
def closeAvatarRecordingFile(): global filePointerForAvatarData data_recording.closeFile(filePointerForAvatarData)