Replace backticks with repr() or "%r"

From SF patch #852334.
diff --git a/Mac/Demo/PICTbrowse/PICTbrowse2.py b/Mac/Demo/PICTbrowse/PICTbrowse2.py
index da389c0..875c99b 100644
--- a/Mac/Demo/PICTbrowse/PICTbrowse2.py
+++ b/Mac/Demo/PICTbrowse/PICTbrowse2.py
@@ -51,7 +51,7 @@
 	def showPICT(self, resid):
 		w = PICTwindow(self)
 		w.open(resid)
-		#EasyDialogs.Message('Show PICT '+`resid`)
+		#EasyDialogs.Message('Show PICT %r' % (resid,))
 		
 	def findPICTresources(self):
 		num = Res.CountResources('PICT')
@@ -69,7 +69,7 @@
 class PICTwindow(FrameWork.Window):
 	def open(self, (resid, resname)):
 		if not resname:
-			resname = '#'+`resid`
+			resname = '#%r' % (resid,)
 		self.resid = resid
 		self.picture = Qd.GetPicture(self.resid)
 		# Get rect for picture
@@ -127,7 +127,7 @@
 		if self.contents:
 			self.list.LAddRow(len(self.contents), 0)
 			for i in range(len(self.contents)):
-				v = `self.contents[i][0]`
+				v = repr(self.contents[i][0])
 				if self.contents[i][1]:
 					v = v + '"' + self.contents[i][1] + '"'
 				self.list.LSetCell(v, (0, i))