from serial import Serial
from serial.tools.list_ports import comports
from websocket_server import WebsocketServer
@route("/")
def index(info=""):
return template("index.html", sers=[(desc, port) for port, desc, hwid in comports()],
ws_url=request.url.replace("http", "ws").replace("8080", "9978"))
Sers= [(desc, port) for port, desc, hwid in comports ()] in
template what syntax is this?