pyGoogle is fun and easy to use, and thinks Python is the best programming language

Discussion in 'Python' started by, Feb 22, 2005.

  1. Guest

    I am having a lot of fun using the pyGoogle module ( ) that uses the Google API. It is
    about as easy to use as I can imagine, and it is a lot nicer than using
    my old HTMl screen scraping habits.

    My online CGI program Ask Merlin at is
    an example. Currently, the program takes any user's question and picks
    the best answer from amongst the possible answers given by the user.
    The program uses an algorithm that uses an intelligent analysis of
    search results from Google. OK, OK, I know already, that this is of
    limited utility compared to answering any question without requiring
    the user to give options to choose from; and, furthermore i know full
    well that at this point Merlin is far from foolproof even when given
    options to choose amongst. Still, if you play with it for a while you
    will be amazed at how well it does do.

    Moreover, I am hard at work on a version that will answer any question
    without being given options, by choosing options from Google search
    results that are most appropriate and then applying my "intelligent"

    But hey, even as it stands, when queried "which is the best programming
    language to use for ease of use," Merlin picks Python from amongst a
    list of python, ruby, ADA and java. When queried "which language is the
    best programming language to use for a large project requiring realtime
    operation and involving life and death issues of human life", Merlin
    picks ada out of the same list. And, when just plain asked "what is the
    best programming language" Merlin wisely picks Python from the list.
    And I assure you that none of this is "hard coded" but instead just
    uses the regular algorithm applied to any other question ;-))))

    OK, it's just a fun little hack by a very amateurish hacker; but that's
    sort of the point. Just think what a good programmer could do with
    pyGoogle ;-))))
    , Feb 22, 2005
    1. Advertisements

  2. Regrettably, inserting "Visual Basic" into the list produces a
    different winner. I think you want some very subtle hard coding which
    limits it to on-space-delimited languages :-(

    - Andy
    Andy Robinson, Feb 24, 2005
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andy Fish
    May 18, 2004
  2. Brian Landers
    Brian Landers
    Jan 16, 2004
  3. dolphin
    Jorgen Grahn
    Aug 25, 2007
  4. cpp4ever
    Sep 8, 2009
  5. er

Share This Page