from enum import Enum class FormatCharacters(Enum): Left_Brace = 0 Right_Brace = 1 Left_Parenthesis = 2 Right_Parenthesis = 3 Left_Bracket = 4 Right_Bracket = 5 Semicolon = 6 Colon = 7 Comma = 8 Point = 9 chars = [ '{', '}', '(', ')', '[', ']', ';', ':', ',', '.' ]