Python 2.7 warning
This commit is contained in:
parent
076bf2507a
commit
f7e0cfdb87
|
@ -5,6 +5,8 @@ if sys.version_info[0] >= 3:
|
||||||
import PySimpleGUI as sg
|
import PySimpleGUI as sg
|
||||||
else:
|
else:
|
||||||
import PySimpleGUI27 as sg
|
import PySimpleGUI27 as sg
|
||||||
|
sg.PopupError('Sorry, at the moment this program only runs on Python 3')
|
||||||
|
sys.exit()
|
||||||
|
|
||||||
import email
|
import email
|
||||||
import imaplib
|
import imaplib
|
||||||
|
|
Loading…
Reference in New Issue