soopercorp / define.py

Word definitions from your command line!

Home Page:http://code.hardikr.com/define.py

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

define.py

Word definitions from your command line! (using Python)

###Installation

$ wget http://raw.github.com/hardikr/define.py/master/define.py -O /tmp/define
$ sudo cp /tmp/define /usr/local/bin/ # or /usr/bin
$ sudo chmod +x /usr/local/bin/define

###Usage

$ define hello

1) Used as a greeting
2) Used to begin a telephone conversation
3) Used to express surprise
4) Used as a cry to attract someone attention
5) Expressing sarcasm or anger

###Notes

Uses Google's undocumented Definitions API (see code). May break some time in the future :-/

About

Word definitions from your command line!

http://code.hardikr.com/define.py


Languages

Language:Python 100.0%