I was wandering through the docs of pygbag, and I couldn't find how the python scripts are actually executed from the browser.
I made a test project to look how the files created by pygbag looked like, but I couldn't really figure out what role the index.html exactly plays. It seemed to me like I couldn't find any script in it, so I supposed that it could be directly interpreted, but I'm not really sure.
There is a python script in the html file, and I found one line which seems to run the main program : await shell.runpy(main, callback=ui_callback)
, but I don't know whether it just executes the python script in the folder or if the script is somewhere compiled in this file.
Could anyone explain me ?