I have a Python script that can create an excel file with information from the input given by user from the HTML UI I created with a few html pages, css and javascript. I need this to work offline and I need to distribute it to clients.
How can I bundle this HTML UI and Python file so that the client doesn't require to install Python or any dependencies to work with my app? I think eel
does the job by not requiring the client to install python to work with this but in eel the client should already have chrome installed right?
Edit:
my js:
function elect() {
console.log('Im in function right now');
let {PythonShell} = require('python-shell');
var path = require('path');
var options = {
scriptPath : path.join(__dirname, '/../engine/')
}
var axiexe = new PythonShell ('test sort.py', options);
axiexe.on('message', function (message) {
swal(message);
})
}
My dir is E:\Web\testing my app\GUI
inside it I have the folder node_modules
with @electron, .bin, python-shell
etc folders.