17 lines
416 B
Plaintext
17 lines
416 B
Plaintext
|
Python Weather
|
||
|
|
||
|
v 0.1
|
||
|
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
|