def sections ( self ) -> list : self . config . read ( self . filepath ) return self . config . sections ( )
python config parser get list of sections
List of sections .
def sections(self) -> list:
        """List of sections."""
        self.config.read(self.filepath)
        return self.config.sections()