Install software:

opkg update
opkg install python-openssl 
opkg install distribute 
easy_install pywapi
opkg update
opkg install python-expat
nano /mnt/sda1/pyw.py
#!/usr/bin/python
import  pywapi
import string
yahoo_result = pywapi.get_weather_from_yahoo('10001')
print "Yahoo says: It is " + string.lower(yahoo_result['condition']['text']) + " and " + yahoo_result['condition']['temp'] + "C now in New York.\n"
chmod 755 /mnt/sda1/pyw.py
/mnt/sda1/pyw.py
Yahoo says: It is mostly cloudy and 26C now in New York.