Skip to content
This repository
Browse code

Merge pull request #3 from neilkod/master

added wolfram alpha to examples
  • Loading branch information...
commit 712b28fedec36dc2979bac3f50069b2a65de095f 2 parents fffdf86 + 2f5acf7
Charlie Cheever authored

Showing 1 changed file with 7 additions and 0 deletions. Show diff stats Hide diff stats

  1. +7 0 src/b1_example.py
7 src/b1_example.py
@@ -110,6 +110,13 @@ def bugcongress(self, arg):
110 110 else:
111 111 return "http://www.congress.org/congressorg/officials/congress/"
112 112
  113 + def wa(self, arg):
  114 + """Searches Wolfram Alpha or goes there"""
  115 + if arg:
  116 + return "http://www.wolframalpha.com/input/?i=%s" % qp(arg)
  117 + else:
  118 + return "http://www.wolframalpha.com/"
  119 +
113 120 def wikinvest(self, arg):
114 121 """Searches Wikinvest or goes there"""
115 122 if arg:

0 comments on commit 712b28f

Please sign in to comment.
Something went wrong with that request. Please try again.