2014-04-15 17:42:26 -04:00
|
|
|
Python Weather
|
|
|
|
|
2014-04-15 17:44:32 -04:00
|
|
|
0.1
|
2014-04-15 17:42:26 -04:00
|
|
|
Leander Hutton
|
|
|
|
leander@one-button.org
|
|
|
|
|
|
|
|
This is a little script that retrieves weather information and prints it at the console. No more bother of opening a web browswer!
|
|
|
|
|
|
|
|
Usage: weather -[z,w] -[c,f] -e (optional) <zipcode || woeid>
|
|
|
|
-[z.w] : use ZipCode (z) or WOEID (w)
|
|
|
|
-[c,f] : units Celcius (c default) or Fahrenheit (f)
|
|
|
|
-e : print extended forcast information
|
|
|
|
|
|
|
|
Requires:
|
|
|
|
urllib2
|
|
|
|
xml.dom
|