python-eel / Eel

A little Python library for making simple Electron-like HTML/JS GUI apps
MIT License
6.41k stars 586 forks source link

Very Newb needs help #634

Closed fwinograd closed 1 year ago

fwinograd commented 1 year ago

I am trying to use eel to link web page to my python code all on my Windows 10 PC. I have a structure like this from the samples page.

\web hello.py

in \web I have \web\hello.html \web\favicon.ico

My question is when "eel.start('hello.html', size=(300, 200))" tries to exicute, I get this error. "Error: 404 Not Found" "Sorry, the requested URL 'http://localhost:8000/hello.html' caused an error:"

Where do I need to put the \web and the hello.py on my Windows PC to avoid the 404 error?

fwinograd commented 1 year ago

Loaded python http server and all is well.