mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-08-11 11:09:20 +02:00
py-kms no longer supports python2 (#72)
* Removed python2 references * Removed python2 build files * Typo * Removed old python2 imports * Added IPv6 note to README Co-authored-by: Matteo ℱan <SystemRage@protonmail.com>
This commit is contained in:
parent
de61c660dd
commit
3d203cbe1d
9 changed files with 29 additions and 258 deletions
|
@ -5,22 +5,11 @@ import os
|
|||
import sys
|
||||
import threading
|
||||
from time import sleep
|
||||
|
||||
try:
|
||||
# Python 2.x imports
|
||||
import Tkinter as tk
|
||||
import ttk
|
||||
import tkMessageBox as messagebox
|
||||
import tkFileDialog as filedialog
|
||||
import tkFont
|
||||
except ImportError:
|
||||
# Python 3.x imports
|
||||
import tkinter as tk
|
||||
from tkinter import ttk
|
||||
from tkinter import messagebox
|
||||
from tkinter import filedialog
|
||||
import tkinter.font as tkFont
|
||||
|
||||
import tkinter as tk
|
||||
from tkinter import ttk
|
||||
from tkinter import messagebox
|
||||
from tkinter import filedialog
|
||||
import tkinter.font as tkFont
|
||||
from pykms_Server import srv_options, srv_version, srv_config, server_terminate, serverqueue, serverthread
|
||||
from pykms_GuiMisc import ToolTip, TextDoubleScroll, TextRedirect, ListboxOfRadiobuttons
|
||||
from pykms_GuiMisc import custom_background, custom_pages
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue