def read_timestamp_format(self):
        """Check the timestamp found on the first line to deduce the timestamp format"""
        first_data_line = self.lines[self.headerNbLines].split(",")
        if ':' in first_data_line[0]: # yes, a time stamp is found in the first data column
            try:
                datetime.strptime(first_data_line[0], SidFile._TIMESTAMP_EXTENDED)
                self.is_extended = True
                SidFile._timestamp_format = SidFile._TIMESTAMP_EXTENDED
                self.timestamp_format = SidFile._TIMESTAMP_EXTENDED
            except __HOLE__:
                datetime.strptime(first_data_line[0], SidFile._TIMESTAMP_STANDARD)
                self.is_extended = False
                SidFile._timestamp_format = SidFile._TIMESTAMP_STANDARD
                self.timestamp_format = SidFile._TIMESTAMP_STANDARD
dataset/ETHPy150Open ericgibert/supersid/supersid/sidfile.py/SidFile.read_timestamp_format