Permalink
Browse files

added wolfram alpha to examples

  • Loading branch information...
1 parent fffdf86 commit 2f5acf70c9abc5a0a2c88be1ba7728f39fd66e6c @neilkod neilkod committed Nov 17, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 src/b1_example.py
View
@@ -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 2f5acf7

Please sign in to comment.