diff --git a/box.py b/box.py index e4392e8..6547da2 100755 --- a/box.py +++ b/box.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/box2.py b/box2.py index bc804de..9b91f80 100755 --- a/box2.py +++ b/box2.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/box3.py b/box3.py index 6285f68..36166ac 100755 --- a/box3.py +++ b/box3.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/boxes.py b/boxes.py index 6de428b..39483f5 100755 --- a/boxes.py +++ b/boxes.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify @@ -567,13 +567,13 @@ class Boxes: f.seek(pos) f.write("mm") else: - print "Could not replace pt with mm" + print("Could not replace pt with mm") pos = s.find('pt"', pos+3) if pos > 0: f.seek(pos) f.write("mm") else: - print "Could not replace pt with mm" + print("Could not replace pt with mm") ############################################################ ### Turtle graphics commands diff --git a/castle.py b/castle.py index 2c9e96f..e2a0b4e 100755 --- a/castle.py +++ b/castle.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/drillbox.py b/drillbox.py index e25dd03..ce23dcb 100755 --- a/drillbox.py +++ b/drillbox.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/flexbox.py b/flexbox.py index d22a80b..9767aef 100755 --- a/flexbox.py +++ b/flexbox.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/flexbox2.py b/flexbox2.py index 8fd929d..1966f76 100755 --- a/flexbox2.py +++ b/flexbox2.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/flexbox3.py b/flexbox3.py index 23c8e76..5975cbf 100755 --- a/flexbox3.py +++ b/flexbox3.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/flextest.py b/flextest.py index 1f585d7..8747a55 100755 --- a/flextest.py +++ b/flextest.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify @@ -22,7 +22,7 @@ class FlexTest(Boxes): def render(self, x, y): self.moveTo(5, 5) self.edge(10) - self.flex(x, y) + self.flexEdge(x, y) self.edge(10) self.corner(90) self.edge(y) diff --git a/folder.py b/folder.py index c3d1e84..fe78367 100755 --- a/folder.py +++ b/folder.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/lamp.py b/lamp.py index 03582f2..6ea08ad 100755 --- a/lamp.py +++ b/lamp.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/magazinefile.py b/magazinefile.py index bb02fe7..0b4ace2 100755 --- a/magazinefile.py +++ b/magazinefile.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/printer.py b/printer.py index 6770c0a..495f2a8 100755 --- a/printer.py +++ b/printer.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/silverwarebox.py b/silverwarebox.py index 28bb50f..895e102 100755 --- a/silverwarebox.py +++ b/silverwarebox.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/trayinsert.py b/trayinsert.py index 83e3b1c..0c4b134 100755 --- a/trayinsert.py +++ b/trayinsert.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify diff --git a/typetray.py b/typetray.py index 6360d1d..63394ea 100755 --- a/typetray.py +++ b/typetray.py @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # Copyright (C) 2013-2014 Florian Festi # # This program is free software: you can redistribute it and/or modify