How to migrate from wuy
(wuy is the ancestor of guy)
- Replace all
wuy
keyword in your py files, byguy
- Replace all
wuy
in html/js files, byguy
(for core methods) orself
(for those which you have declared in your class) ... see (client side) - Replace
wuy.Window
/wuy.Server
byguy.Guy
.get() & .set()
configs are replaced byself.cfg
(py side) andguy.cfg
(js side)- Rename your
web
folder tostatic
folder, if needed. - At launch, get the instance, and apply one of theses methods:
- instance.run() : for classical "app mode"
- instance.serve() : for classical "server mode"
From wuy:
AppWindow()
to guy:
app=AppWindow()
app.run()
Info
Here is my biggest wuy's app migration to guy
Info
if socket close : client will reconnect ! (it will not close the app, like wuy did)