Skip to content

Commit d391029

Browse files
committed
Update SPGL for Python 3.x
1 parent 4230928 commit d391029

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
32 Bytes
Binary file not shown.

Missile Command/spgl.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
# Import message box
44
# This code is necessary for Python 2.x and 3.x compatibility
55
try:
6-
import tkMessageBox as messagebox
6+
import tkinter.messagebox as messagebox
77
except:
88
from tkinter import messagebox
99

1010
# Import filedialog
1111
try:
1212
from tkinter import filedialog
1313
except:
14-
import tkFileDialog as filedialog
14+
import tkinter.filedialog as filedialog
1515

1616

1717
# If on Windows, import winsound or, better yet, switch to Linux!

0 commit comments

Comments
 (0)