- Using \\ instead of \ in regular string syntax
- Using != instead of is not in conditions, when the object is not atomic
Index: kuttypy/utilities/syntax.py
===================================================================
--- kuttypy.orig/utilities/syntax.py
+++ kuttypy/utilities/syntax.py
@@ -54,16 +54,16 @@ class PythonHighlighter(QtGui.QSyntaxHig
 		# Comparison
 		'==', '!=', '<', '<=', '>', '>=',
 		# Arithmetic
-		'\+', '-', '\*', '/', '//', '\%', '\*\*',
+		'\\+', '-', '\\*', '/', '//', '\\%', '\\*\\*',
 		# In-place
-		'\+=', '-=', '\*=', '/=', '\%=',
+		'\\+=', '-=', '\\*=', '/=', '\\%=',
 		# Bitwise
-		'\^', '\|', '\&', '\~', '>>', '<<',
+		'\\^', '\\|', '\\&', '\\~', '>>', '<<',
 	]
 
 	# Python braces
 	braces = [
-		'\{', '\}', '\(', '\)', '\[', '\]',
+		'\\{', '\\}', '\\(', '\\)', '\\[', '\\]',
 	]
 
 	def __init__(self, parent: QtGui.QTextDocument) -> None:
@@ -215,16 +215,16 @@ class CHighlighter(QtGui.QSyntaxHighligh
 		# Comparison
 		'==', '!=', '<', '<=', '>', '>=',
 		# Arithmetic
-		'\+', '-', '\*', '/', '//', '\%', '\*\*',
+		'\\+', '-', '\\*', '/', '//', '\\%', '\\*\\*',
 		# In-place
-		'\+=', '-=', '\*=', '/=', '\%=',
+		'\\+=', '-=', '\\*=', '/=', '\\%=',
 		# Bitwise
-		'\^', '\|', '\&', '\~', '>>', '<<',
+		'\\^', '\\|', '\\&', '\\~', '>>', '<<',
 	]
 
 	# Python braces
 	braces = [
-		'\{', '\}', '\(', '\)', '\[', '\]',
+		'\\{', '\\}', '\\(', '\\)', '\\[', '\\]',
 	]
 
 	def __init__(self, parent: QtGui.QTextDocument) -> None:
Index: kuttypy/KuttyPyGUI.py
===================================================================
--- kuttypy.orig/KuttyPyGUI.py
+++ kuttypy/KuttyPyGUI.py
@@ -80,7 +80,7 @@ class AppWindow(QtWidgets.QMainWindow, l
 		self.defaultDirectory = path["examples"]
 
 		self.setTheme("material")
-		examples = [a for a in os.listdir(os.path.join(path["examples"],self.EXAMPLES_DIR)) if ('.py' in a) and a is not 'kuttyPy.py'] #.py files except the library
+		examples = [a for a in os.listdir(os.path.join(path["examples"],self.EXAMPLES_DIR)) if ('.py' in a) and a != 'kuttyPy.py'] #.py files except the library
 		self.exampleList.addItems(examples)
 		blinkindex = self.exampleList.findText('blink.py')
 		if blinkindex!=-1: #default example. blink.py present in examples directory
Index: kuttypy/KuttyPyNano.py
===================================================================
--- kuttypy.orig/KuttyPyNano.py
+++ kuttypy/KuttyPyNano.py
@@ -63,7 +63,7 @@ class AppWindow(QtWidgets.QMainWindow, l
 		self.ipy = None
 
 		self.setTheme("material")
-		examples = [a for a in os.listdir(os.path.join(path["examples"],self.EXAMPLES_DIR)) if ('.py' in a) and a is not 'kuttyPy.py'] #.py files except the library
+		examples = [a for a in os.listdir(os.path.join(path["examples"],self.EXAMPLES_DIR)) if ('.py' in a) and a != 'kuttyPy.py'] #.py files except the library
 		self.exampleList.addItems(examples)
 		blinkindex = self.exampleList.findText('blink.py')
 		if blinkindex!=-1: #default example. blink.py present in examples directory
Index: kuttypy/KuttyPyUno.py
===================================================================
--- kuttypy.orig/KuttyPyUno.py
+++ kuttypy/KuttyPyUno.py
@@ -63,7 +63,7 @@ class AppWindow(QtWidgets.QMainWindow, l
 		self.ipy = None
 
 		self.setTheme("material")
-		examples = [a for a in os.listdir(os.path.join(path["examples"],self.EXAMPLES_DIR)) if ('.py' in a) and a is not 'kuttyPy.py'] #.py files except the library
+		examples = [a for a in os.listdir(os.path.join(path["examples"],self.EXAMPLES_DIR)) if ('.py' in a) and a != 'kuttyPy.py'] #.py files except the library
 		self.exampleList.addItems(examples)
 		blinkindex = self.exampleList.findText('blink.py')
 		if blinkindex!=-1: #default example. blink.py present in examples directory
