Shivam Sharan
Shivam Sharan

Reputation: 1

EEL , OSError: [WinError 87] The parameter is incorrect

import eel

import time

eel.init('web')

@eel.expose <br>
def getTime():<br>
      return "Hello World" <br>

eel.start('main.html')<br>

This is a simple program to return hello world in main.html file, I am using Windows 10 and generating the error

OSError: [WinError 87] The parameter is incorrect

When using Ubuntu or MAC it is not generating any error

Upvotes: 0

Views: 313

Answers (1)

Usman Zahoor
Usman Zahoor

Reputation: 1

eel.start('index.html', mode='default')

Upvotes: 0

Related Questions