Python3 Updates

This commit is contained in:
rparedis 2022-03-02 15:21:39 +01:00
parent 190a70532a
commit 50164a92c6
7 changed files with 26 additions and 10 deletions

View file

@ -185,7 +185,10 @@ elif mn.startswith("realtime"):
elif mn.startswith("realtime_loop"):
args["setRealTimePlatformGameLoop"] = []
elif mn.startswith("realtime_tk"):
from Tkinter import *
try:
from Tkinter import *
except ImportError:
from tkinter import *
myTk = Tk()
args["setRealTimePlatformTk"] = [myTk]
else: