def check_service(host, port):
  t = telnetlib.Telnet()
  try:
    t.open(host, port)
  except:
    return False
  t.close()
  return True
Show the BeeWare project page
dataset/ETHPy150Open XiaoMi/minos/client/deploy_utils.py/check_service--crossover with--dataset/ETHPy150Open pybee/bugjar/bugjar/view.py/MainWindow.cmd_beeware_page