How to implement web terminal with Python?

I want to add web terminal, to python"s web project so that it can connect to the server directly through web to achieve a function similar to that of a fortress machine. Baidu for a while, look at is written in tornado + xterm.js. Can I write it in flask? I just want to quote it on web, is it necessary to learn torando again?


web terminal is bound to use real-time communication between front and back ends (imagine running top or ping commands), such as WebSocket . Tornado has good support in this respect. While Flask does not natively support WebSocket , it is more difficult to implement


shell" rel=" nofollow noreferrer "> https://github.com/ysk2014/we.: web termianl services based on node-pty and xterm and vue, learn about
.

Menu