Skip to content

Commit

Permalink
Merge pull request #386 from mo0haned/patch-1
Browse files Browse the repository at this point in the history
Update hello.py
  • Loading branch information
samuelhwilliams authored Feb 5, 2023
2 parents 37d9480 + 6003c3d commit 6b01349
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions examples/09 - Eelectron-quick-start/hello.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import eel

# Set web files folder
eel.init('web')

Expand All @@ -10,11 +9,5 @@ def say_hello_py(x):
say_hello_py('Python World!')
eel.say_hello_js('Python World!') # Call a Javascript function


options = {
'mode': 'custom',
'args': ['node_modules/electron/dist/electron.exe', '.']
}

eel.start('hello.html', options=options)
eel.start('hello.html',mode='electron')
#eel.start('hello.html', mode='custom', cmdline_args=['node_modules/electron/dist/electron.exe', '.'])

0 comments on commit 6b01349

Please sign in to comment.