Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.

Commit d873bd0

Browse files
Remove Py3 compatibility futures
1 parent 8e01818 commit d873bd0

File tree

8 files changed

+1
-9
lines changed

8 files changed

+1
-9
lines changed

eel/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # Python 2 compatibility stuff
21
from builtins import range
32
from io import open
43

eel/__main__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function
21
import pkg_resources as pkg
32
import PyInstaller.__main__ as pyi
43
import os

examples/01 - hello_world/hello.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # For Py2/3 compatibility
21
import eel
32

43
# Set web files folder

examples/02 - callbacks/callbacks.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # For Py2/3 compatibility
21
import eel
32
import random
43

examples/03 - sync_callbacks/sync_callbacks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # For Py2/3 compatibility
21
import eel, random
32

43
eel.init('web')
@@ -18,4 +17,4 @@ def py_random():
1817
print('Got this from Javascript:', n)
1918

2019
while True:
21-
eel.sleep(1.0)
20+
eel.sleep(1.0)

examples/05 - input/script.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # For Py2/3 compatibility
21
import eel
32

43
eel.init('web') # Give folder containing web files

examples/06 - jinja_templates/hello.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # For Py2/3 compatibility
21
import eel
32

43
eel.init('web') # Give folder containing web files

examples/09 - Eelectron-quick-start/hello.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from __future__ import print_function # For Py2/3 compatibility
21
import eel
32

43
# Set web files folder

0 commit comments

Comments
 (0)