Home » Javascript » When I store the python function return value in JavaScript variable using eel library JavaScript is giving callback error

When I store the python function return value in JavaScript variable using eel library JavaScript is giving callback error

Posted by: admin February 24, 2020 Leave a comment

Questions:

I am making a program using HTML, CSS, JavaScript and Eel library of Python.
In one of the Python functions, I am fetching a URL, slicing and storing it in a Python variable, which should be returned to be used in JavaScript.
However, when I store that return value (from Python) in a JavaScript variable and do
console.log(that_variable);
It raises some callback error.

How to&Answers: