ev3dev-lang-python icon indicating copy to clipboard operation
ev3dev-lang-python copied to clipboard

Micropython support for control/webserver.py

Open dwalton76 opened this issue 6 years ago • 1 comments

I have experimented with https://github.com/jczic/MicroWebSrv and it seems to work fairly well. I haven't tested to see how will that library works with python3 though. It might be a decent starting point though if we decide we want to support WebControlledTank in micropython. It takes forever (I want to say more than 30s) to load WebControlledTank via python3.

dwalton76 avatar May 13 '19 12:05 dwalton76

I think this could be cool, but from a time investment perspective the reward probably isn't worth it for now. My thought is that uPy is, in general, designed to be small -- do just the simple things, but really fast. If someone wants a whole web server running there's probably enough work to be done there that they're willing to/will want to use full CPython instead. That doesn't prevent us from supporting it if it turns out someone has the time and wants to go for it though.

WasabiFan avatar May 13 '19 22:05 WasabiFan