Added code for version 2.7
This commit is contained in:
parent
76f1aad555
commit
70f6002ab9
|
@ -1,4 +1,9 @@
|
||||||
import PySimpleGUI as sg
|
#!/usr/bin/env python
|
||||||
|
import sys
|
||||||
|
if sys.version_info[0] >= 3:
|
||||||
|
import PySimpleGUI as sg
|
||||||
|
else:
|
||||||
|
import PySimpleGUI27 as sg
|
||||||
from gtts import gTTS
|
from gtts import gTTS
|
||||||
from pygame import mixer
|
from pygame import mixer
|
||||||
import time
|
import time
|
||||||
|
|
Loading…
Reference in New Issue