Permalink
Browse files

Merge pull request #3 from neilkod/master

added wolfram alpha to examples
  • Loading branch information...
2 parents fffdf86 + 2f5acf7 commit 712b28fedec36dc2979bac3f50069b2a65de095f @ccheever committed Nov 18, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/b1_example.py
View
7 src/b1_example.py
@@ -110,6 +110,13 @@ def bugcongress(self, arg):
else:
return "http://www.congress.org/congressorg/officials/congress/"
+ def wa(self, arg):
+ """Searches Wolfram Alpha or goes there"""
+ if arg:
+ return "http://www.wolframalpha.com/input/?i=%s" % qp(arg)
+ else:
+ return "http://www.wolframalpha.com/"
+
def wikinvest(self, arg):
"""Searches Wikinvest or goes there"""
if arg:

0 comments on commit 712b28f

Please sign in to comment.