Archived:How to connect device to Wifi in PySymbian
Wifi using PySymbian.This article contains code to connect to
import sys, socket, urllib
apid = None
#this next line brings up the access point menu
apid = socket.select_access_point()
if not apid:
apo = socket.access_point(apid)
ip = apo.ip()
print u"Connected to WiFi as %s" % ip
print u"Failed to connect to WiFi"
#Then you can use urllib as much as you want without the phone bugging you to pick an access point:
url = "YOUR URL HERE"
web = urllib.urlopen(url)
response = web.read()