Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- highlightWords = {'if': 'orange',
- 'else': 'orange',
- 'str': 'purple',
- 'int': 'purple',
- 'elif': 'orange',
- '\'': 'darkgreen',
- '#': 'red',
- '\'\'\'': 'red',
- 'BaseException': '#9932CC',
- 'Exception': '#9932CC',
- 'ArithmeticError': '#9932CC',
- 'BufferError': '#9932CC',
- 'LookupError': '#9932CC',
- 'EnvironmentError': '#9932CC',
- 'AssertionError': '#9932CC',
- 'AttributeError': '#9932CC',
- 'EOFError': '#9932CC',
- 'FloatingPointError': '#9932CC',
- 'GerneratorError': '#9932CC',
- 'IOError': '#9932CC',
- 'ImportError': '#9932CC',
- 'IndexError': '#9932CC',
- 'KeyError': '#9932CC',
- 'KeyboardInterrupt': '#9932CC',
- 'MemoryError': '#9932CC',
- 'NameError': '#9932CC',
- 'NotImplementedError': '#9932CC',
- 'OSError': '#9932CC',
- 'OverflowError': '#9932CC',
- 'ReferenceError': '#9932CC',
- 'RuntimeError': '#9932CC',
- 'StopIteration': '#9932CC',
- 'SyntaxError': '#9932CC',
- 'IndentationError': '#9932CC',
- 'TabError': '#9932CC',
- 'SystemError': '#9932CC',
- 'SystemExit': '#9932CC',
- 'TypeError': '#9932CC',
- 'UnboundLocalError': '#9932CC',
- 'UnicodeError': '#9932CC',
- 'UnicodeEncodeError': '#9932CC',
- 'UnicodeDecodeError': '#9932CC',
- 'UnicodeTranslateError': '#9932CC',
- 'ValueError': '#9932CC',
- 'VMSError': '#9932CC',
- 'WindowsError': '#9932CC',
- 'ZeroDivisionError': '#9932CC',
- 'Warning': '#cccc00',
- 'UserWarning': '#cccc00',
- 'DeprecationWarning': '#cccc00',
- 'PendingDeprecationWarning': '#cccc00',
- 'SyntaxWarning': '#cccc00',
- 'RuntimeWarning': '#cccc00',
- 'ImportWarning': '#cccc00',
- 'FutureWarning': '#cccc00',
- 'UnicodeWarning': '#cccc00',
- 'BytesWarning': '#cccc00',
- 'ResourceWarning': '#cccc00',
- 'try': 'orange',
- 'except': 'orange',
- 'from': 'orange',
- 'import': 'orange',
- 'in': 'orange',
- 'as': 'orange',
- 'for': 'orange',
- 'while': 'orange',
- 'range': 'lightblue',
- 'len': 'lightblue',
- 'True': 'darkorange',
- 'False': 'darkorange'
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement