import os import csvlogger as clg import foo logfile = clg.csvlogger('test', os.getcwd(), ('x', 'y')) logfile.addDatapoint((10,10))