python
from wifi import Cell, Scheme
networks = Cell.all("wlan0")
target_network = None
for network in networks:
if network.ssid == "MyWiFi":
target_network = network
break
scheme = Scheme.for_cell("wlan0", "home", target_network, "password")
scheme.activate()