Python3 Updates
This commit is contained in:
parent
190a70532a
commit
50164a92c6
7 changed files with 26 additions and 10 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue