Traceback (most recent call last):
File "C:\Users\pixel\AppData\Local\Programs\Python\Python36\lib\tkinter\__init__.py", line 1702, in __call__
return self.func(*args)
File "application.py", line 1253, in experiment
self.treatSpectras(raw_timestamp)
File "application.py", line 1391, in treatSpectras
file.writeline(heading + "\n")
AttributeError: '_io.TextIOWrapper' object has no attribute 'writeline'
Windows-7-6.1.7601-SP1 CPython-3.6.5