from wlan import do_connect import netconf ip = do_connect(netconf.ssid, netconf.password) print(ip) from maxserver import main main(ip)