summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/ae/aescan.py8
-rw-r--r--Mac/Modules/ah/ahscan.py6
-rw-r--r--Mac/Modules/app/appscan.py6
-rw-r--r--Mac/Modules/carbonevt/CarbonEvtscan.py8
-rw-r--r--Mac/Modules/cf/cfscan.py6
-rwxr-xr-xMac/Modules/cg/cgscan.py6
-rw-r--r--Mac/Modules/cm/cmscan.py6
-rw-r--r--Mac/Modules/ctl/ctlscan.py6
-rw-r--r--Mac/Modules/dlg/dlgscan.py6
-rw-r--r--Mac/Modules/drag/dragscan.py6
-rw-r--r--Mac/Modules/evt/evtscan.py6
-rw-r--r--Mac/Modules/file/filescan.py6
-rw-r--r--Mac/Modules/fm/fmscan.py6
-rw-r--r--Mac/Modules/folder/folderscan.py6
-rw-r--r--Mac/Modules/help/helpscan.py6
-rw-r--r--Mac/Modules/ibcarbon/IBCarbonscan.py8
-rw-r--r--Mac/Modules/icn/icnscan.py6
-rw-r--r--Mac/Modules/launch/launchscan.py6
-rw-r--r--Mac/Modules/list/listscan.py6
-rw-r--r--Mac/Modules/menu/menuscan.py6
-rw-r--r--Mac/Modules/mlte/mltescan.py6
-rw-r--r--Mac/Modules/osa/osascan.py6
-rw-r--r--Mac/Modules/qd/qdscan.py8
-rw-r--r--Mac/Modules/qdoffs/qdoffsscan.py6
-rw-r--r--Mac/Modules/qt/qtscan.py6
-rw-r--r--Mac/Modules/res/resscan.py6
-rw-r--r--Mac/Modules/scrap/scrapscan.py4
-rw-r--r--Mac/Modules/snd/sndscan.py6
-rw-r--r--Mac/Modules/te/tescan.py6
-rw-r--r--Mac/Modules/win/winscan.py6
30 files changed, 93 insertions, 93 deletions
diff --git a/Mac/Modules/ae/aescan.py b/Mac/Modules/ae/aescan.py
index 0ea367c..c23d18f 100644
--- a/Mac/Modules/ae/aescan.py
+++ b/Mac/Modules/ae/aescan.py
@@ -13,18 +13,18 @@ sys.path.append(BGENDIR)
from scantools import Scanner
def main():
- print "=== Scanning AEDataModel.h, AppleEvents.h, AERegistry.h, AEObjects.h ==="
+ print("=== Scanning AEDataModel.h, AppleEvents.h, AERegistry.h, AEObjects.h ===")
input = ["AEDataModel.h", "AEInteraction.h", "AppleEvents.h", "AERegistry.h", "AEObjects.h"]
output = "aegen.py"
defsoutput = TOOLBOXDIR + "AppleEvents.py"
scanner = AppleEventsScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done Scanning and Generating, now doing 'import aesupport' ==="
+ print("=== Done Scanning and Generating, now doing 'import aesupport' ===")
import aesupport
- print "=== Done 'import aesupport'. It's up to you to compile AEmodule.c ==="
+ print("=== Done 'import aesupport'. It's up to you to compile AEmodule.c ===")
class AppleEventsScanner(Scanner):
diff --git a/Mac/Modules/ah/ahscan.py b/Mac/Modules/ah/ahscan.py
index 8768b60..f52b771 100644
--- a/Mac/Modules/ah/ahscan.py
+++ b/Mac/Modules/ah/ahscan.py
@@ -17,11 +17,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner_OSX):
diff --git a/Mac/Modules/app/appscan.py b/Mac/Modules/app/appscan.py
index 246d61e..fa154ca 100644
--- a/Mac/Modules/app/appscan.py
+++ b/Mac/Modules/app/appscan.py
@@ -17,11 +17,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/carbonevt/CarbonEvtscan.py b/Mac/Modules/carbonevt/CarbonEvtscan.py
index 7307327..e29456f 100644
--- a/Mac/Modules/carbonevt/CarbonEvtscan.py
+++ b/Mac/Modules/carbonevt/CarbonEvtscan.py
@@ -12,18 +12,18 @@ sys.path.append(BGENDIR)
from scantools import Scanner, Scanner_OSX
def main():
- print "---Scanning CarbonEvents.h---"
+ print("---Scanning CarbonEvents.h---")
input = ["CarbonEvents.h"]
output = "CarbonEventsgen.py"
defsoutput = TOOLBOXDIR + "CarbonEvents.py"
scanner = CarbonEvents_Scanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "--done scanning, importing--"
+ print("--done scanning, importing--")
import CarbonEvtsupport
- print "done"
+ print("done")
RefObjectTypes = ["EventRef",
"EventQueueRef",
diff --git a/Mac/Modules/cf/cfscan.py b/Mac/Modules/cf/cfscan.py
index 5ff9534..20751ae 100644
--- a/Mac/Modules/cf/cfscan.py
+++ b/Mac/Modules/cf/cfscan.py
@@ -44,11 +44,11 @@ def main():
scanner.scan()
scanner.gentypetest(SHORT+"typetest.py")
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner_OSX):
diff --git a/Mac/Modules/cg/cgscan.py b/Mac/Modules/cg/cgscan.py
index 82f4919..ba0ff2a 100755
--- a/Mac/Modules/cg/cgscan.py
+++ b/Mac/Modules/cg/cgscan.py
@@ -22,11 +22,11 @@ def main():
scanner.scan()
scanner.gentypetest(SHORT+"typetest.py")
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner_OSX):
diff --git a/Mac/Modules/cm/cmscan.py b/Mac/Modules/cm/cmscan.py
index 1a1e46d..bbe0210 100644
--- a/Mac/Modules/cm/cmscan.py
+++ b/Mac/Modules/cm/cmscan.py
@@ -16,11 +16,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/ctl/ctlscan.py b/Mac/Modules/ctl/ctlscan.py
index dd74d23..323ff9a 100644
--- a/Mac/Modules/ctl/ctlscan.py
+++ b/Mac/Modules/ctl/ctlscan.py
@@ -14,11 +14,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now doing 'import ctlsupport' ==="
+ print("=== Done scanning and generating, now doing 'import ctlsupport' ===")
import ctlsupport
- print "=== Done. It's up to you to compile Ctlmodule.c ==="
+ print("=== Done. It's up to you to compile Ctlmodule.c ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/dlg/dlgscan.py b/Mac/Modules/dlg/dlgscan.py
index bf37129..fbdbc50 100644
--- a/Mac/Modules/dlg/dlgscan.py
+++ b/Mac/Modules/dlg/dlgscan.py
@@ -18,11 +18,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/drag/dragscan.py b/Mac/Modules/drag/dragscan.py
index e89897a..b1aa6d5 100644
--- a/Mac/Modules/drag/dragscan.py
+++ b/Mac/Modules/drag/dragscan.py
@@ -25,11 +25,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now doing 'import dragsupport' ==="
+ print("=== Done scanning and generating, now doing 'import dragsupport' ===")
import dragsupport
- print "=== Done. It's up to you to compile Dragmodule.c ==="
+ print("=== Done. It's up to you to compile Dragmodule.c ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/evt/evtscan.py b/Mac/Modules/evt/evtscan.py
index 0adce8b..8501f01 100644
--- a/Mac/Modules/evt/evtscan.py
+++ b/Mac/Modules/evt/evtscan.py
@@ -17,11 +17,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/file/filescan.py b/Mac/Modules/file/filescan.py
index b7c5d12..574a9d6 100644
--- a/Mac/Modules/file/filescan.py
+++ b/Mac/Modules/file/filescan.py
@@ -17,11 +17,11 @@ def main():
scanner.scan()
scanner.close()
scanner.gentypetest(SHORT+"typetest.py")
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner_OSX):
diff --git a/Mac/Modules/fm/fmscan.py b/Mac/Modules/fm/fmscan.py
index 38abcac..ec6c597 100644
--- a/Mac/Modules/fm/fmscan.py
+++ b/Mac/Modules/fm/fmscan.py
@@ -16,11 +16,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/folder/folderscan.py b/Mac/Modules/folder/folderscan.py
index cccb720..2630642 100644
--- a/Mac/Modules/folder/folderscan.py
+++ b/Mac/Modules/folder/folderscan.py
@@ -18,11 +18,11 @@ def main():
scanner.scan()
scanner.close()
scanner.gentypetest(SHORT+"typetest.py")
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner_OSX):
diff --git a/Mac/Modules/help/helpscan.py b/Mac/Modules/help/helpscan.py
index fa8dbde..7ad82e5 100644
--- a/Mac/Modules/help/helpscan.py
+++ b/Mac/Modules/help/helpscan.py
@@ -17,11 +17,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/ibcarbon/IBCarbonscan.py b/Mac/Modules/ibcarbon/IBCarbonscan.py
index eb7267d..9470dac 100644
--- a/Mac/Modules/ibcarbon/IBCarbonscan.py
+++ b/Mac/Modules/ibcarbon/IBCarbonscan.py
@@ -10,18 +10,18 @@ sys.path.append(BGENDIR)
from scantools import Scanner_OSX
def main():
- print "---Scanning IBCarbonRuntime.h---"
+ print("---Scanning IBCarbonRuntime.h---")
input = ["IBCarbonRuntime.h"]
output = "IBCarbongen.py"
defsoutput = TOOLBOXDIR + "IBCarbonRuntime.py"
scanner = IBCarbon_Scanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "--done scanning, importing--"
+ print("--done scanning, importing--")
import IBCarbonsupport
- print "done"
+ print("done")
class IBCarbon_Scanner(Scanner_OSX):
diff --git a/Mac/Modules/icn/icnscan.py b/Mac/Modules/icn/icnscan.py
index 2d20062..3ee357c 100644
--- a/Mac/Modules/icn/icnscan.py
+++ b/Mac/Modules/icn/icnscan.py
@@ -17,11 +17,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/launch/launchscan.py b/Mac/Modules/launch/launchscan.py
index dd43e37..8d535fb 100644
--- a/Mac/Modules/launch/launchscan.py
+++ b/Mac/Modules/launch/launchscan.py
@@ -18,11 +18,11 @@ def main():
scanner.scan()
scanner.close()
scanner.gentypetest(SHORT+"typetest.py")
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/list/listscan.py b/Mac/Modules/list/listscan.py
index 14e7dca..233ad5f 100644
--- a/Mac/Modules/list/listscan.py
+++ b/Mac/Modules/list/listscan.py
@@ -17,11 +17,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/menu/menuscan.py b/Mac/Modules/menu/menuscan.py
index 46afe16..bcd5019 100644
--- a/Mac/Modules/menu/menuscan.py
+++ b/Mac/Modules/menu/menuscan.py
@@ -13,11 +13,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now doing 'import menusupport' ==="
+ print("=== Done scanning and generating, now doing 'import menusupport' ===")
import menusupport
- print "=== Done. It's up to you to compile Menumodule.c ==="
+ print("=== Done. It's up to you to compile Menumodule.c ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/mlte/mltescan.py b/Mac/Modules/mlte/mltescan.py
index 9566ad7..ee095ec 100644
--- a/Mac/Modules/mlte/mltescan.py
+++ b/Mac/Modules/mlte/mltescan.py
@@ -19,11 +19,11 @@ def main():
scanner.scan()
scanner.gentypetest(SHORT+"typetest.py")
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner_OSX):
diff --git a/Mac/Modules/osa/osascan.py b/Mac/Modules/osa/osascan.py
index 8bad4b7..085dd10 100644
--- a/Mac/Modules/osa/osascan.py
+++ b/Mac/Modules/osa/osascan.py
@@ -17,11 +17,11 @@ def main():
scanner.scan()
scanner.close()
scanner.gentypetest(SHORT+"typetest.py")
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/qd/qdscan.py b/Mac/Modules/qd/qdscan.py
index c601b0e..9c52f14 100644
--- a/Mac/Modules/qd/qdscan.py
+++ b/Mac/Modules/qd/qdscan.py
@@ -28,7 +28,7 @@ def main():
except IOError:
pass
if have_extra:
- print "=== Copying QuickDrawText stuff into main files... ==="
+ print("=== Copying QuickDrawText stuff into main files... ===")
ifp = open("@qdgentext.py")
ofp = open("qdgen.py", "a")
ofp.write(ifp.read())
@@ -40,11 +40,11 @@ def main():
ifp.close()
ofp.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
import qdsupport
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/qdoffs/qdoffsscan.py b/Mac/Modules/qdoffs/qdoffsscan.py
index 7e8f316..a7bf518 100644
--- a/Mac/Modules/qdoffs/qdoffsscan.py
+++ b/Mac/Modules/qdoffs/qdoffsscan.py
@@ -13,11 +13,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
import qdoffssupport
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/qt/qtscan.py b/Mac/Modules/qt/qtscan.py
index ac56144..97a776b 100644
--- a/Mac/Modules/qt/qtscan.py
+++ b/Mac/Modules/qt/qtscan.py
@@ -34,11 +34,11 @@ def main():
scanner.scan()
scanner.close()
scanner.gentypetest(SHORT+"typetest.py")
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/res/resscan.py b/Mac/Modules/res/resscan.py
index 853fa13..42f01e0 100644
--- a/Mac/Modules/res/resscan.py
+++ b/Mac/Modules/res/resscan.py
@@ -19,11 +19,11 @@ def main():
scanner = ResourcesScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now doing 'import ressupport' ==="
+ print("=== Done scanning and generating, now doing 'import ressupport' ===")
import ressupport
- print "=== Done 'import ressupport'. It's up to you to compile Resmodule.c ==="
+ print("=== Done 'import ressupport'. It's up to you to compile Resmodule.c ===")
class ResourcesScanner(Scanner):
diff --git a/Mac/Modules/scrap/scrapscan.py b/Mac/Modules/scrap/scrapscan.py
index 7521fba..6239e92 100644
--- a/Mac/Modules/scrap/scrapscan.py
+++ b/Mac/Modules/scrap/scrapscan.py
@@ -21,9 +21,9 @@ def main():
scanner.close()
## print "=== Testing definitions output code ==="
## exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/snd/sndscan.py b/Mac/Modules/snd/sndscan.py
index bcdd062..4c4a226 100644
--- a/Mac/Modules/snd/sndscan.py
+++ b/Mac/Modules/snd/sndscan.py
@@ -16,11 +16,11 @@ def main():
scanner = SoundScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now doing 'import sndsupport' ==="
+ print("=== Done scanning and generating, now doing 'import sndsupport' ===")
import sndsupport
- print "=== Done. It's up to you to compile Sndmodule.c ==="
+ print("=== Done. It's up to you to compile Sndmodule.c ===")
class SoundScanner(Scanner):
diff --git a/Mac/Modules/te/tescan.py b/Mac/Modules/te/tescan.py
index c0d6e1c..316b7fb 100644
--- a/Mac/Modules/te/tescan.py
+++ b/Mac/Modules/te/tescan.py
@@ -17,11 +17,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
exec "import " + SHORT + "support"
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):
diff --git a/Mac/Modules/win/winscan.py b/Mac/Modules/win/winscan.py
index 8d2cea9..023c737 100644
--- a/Mac/Modules/win/winscan.py
+++ b/Mac/Modules/win/winscan.py
@@ -13,11 +13,11 @@ def main():
scanner = MyScanner(input, output, defsoutput)
scanner.scan()
scanner.close()
- print "=== Testing definitions output code ==="
+ print("=== Testing definitions output code ===")
exec(open(defsoutput).read(), {}, {})
- print "=== Done scanning and generating, now importing the generated code... ==="
+ print("=== Done scanning and generating, now importing the generated code... ===")
import winsupport
- print "=== Done. It's up to you to compile it now! ==="
+ print("=== Done. It's up to you to compile it now! ===")
class MyScanner(Scanner):