Skip to content
This repository was archived by the owner on Jun 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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', '.'])