python-eel/Eel

Error in eel.show when opening a window with specified coordinates and dimensions

Open

#751 opened on Nov 24, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (5,980 stars) (570 forks)batch import
help wanted

Description

To open an additional window after call eel.start, I use the following code: eel.show('slider.html', size=(400, 200), position=(40, 40))

But I get the following error message: TypeError: show() got unexpected keyboard argument 'size'

What is the problem here? How to open an additional window of a given size and with the desired positioning?

Desktop:

  • OS: Windows 11
  • Browser: Chrome
  • Version: Current

Contributor guide