rco.write(_("# I moved all your custom buttons into .pronsolerc.\n# Please don't add them here any more.\n# Backup of your old buttons is in custombtn.old\n"))
rco.write(_("# I moved all your custom buttons into .pronsolerc.\n# Please don't add them here any more.\n# Backup of your old buttons is in custombtn.old\n"))
rco.close()
rco.close()
exceptIOError,x:
exceptIOErrorasx:
printstr(x)
print(str(x))
else:
else:
print_("Note!!! You have specified custom buttons in both custombtn.txt and .pronsolerc")
print(_("Note!!! You have specified custom buttons in both custombtn.txt and .pronsolerc"))
print_("Ignoring custombtn.txt. Remove all current buttons to revert to custombtn.txt")
print(_("Ignoring custombtn.txt. Remove all current buttons to revert to custombtn.txt"))
except:
except:
pass
pass
...
@@ -200,13 +200,13 @@ class PronterWindow(MainWindow, pronsole.pronsole):
...
@@ -200,13 +200,13 @@ class PronterWindow(MainWindow, pronsole.pronsole):
defstartcb(self):
defstartcb(self):
self.starttime=time.time()
self.starttime=time.time()
print"Print Started at: "+format_time(self.starttime)
print("Print Started at: "+format_time(self.starttime))