Hi guys and @ChrisKnott ,
Trying to pass 3 values to the js from python, and it tells me that values come as a string, check this out:
My js code:

My Python code:

I am sure that python returns them right. But eel seems to be passing it as one string argument. This is what I am getting after running the code.

P.S. I surely can split the values from a string and use them, but maybe there's something I am doing wrong while using eel? Anything helps!
When you return multiple items from Python it actually returns a single tuple.
You need to change it so your callback function takes a single argument, then index from that.
Like pts_count = ret[0] etc
@ChrisKnott Thank you, worked!
Hi @dragon-slayer875. Please feel free to open a news issue asking for help and we can take a look. Including your code will help us help you.
Sorry for the trouble @samuelhwilliams . I resolved the issue just 10 seconds after putting up the comment.
Thanks for the speedy reply and again sorry for the inconvenience.