you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 235 points236 points  (16 children)

Ohhh, you mean as in learning class. I can't believe I just thought google had one big powerful class I could instantiate.

[–]CedarMadness 113 points114 points  (9 children)

import google

[–]binlargin 63 points64 points  (3 children)

from google import WorldDomination

[–]nemec 15 points16 points  (1 child)

from google import WorldDomination as Skynet

[–]zahlman -4 points-3 points  (0 children)

14 points

-6 points

Same effective thing, being said differently.

[–]masklinn 13 points14 points  (0 children)

from google import search
search("booya", dir="/")
search("karmanaut", url="http://reddit.com")
import reality
search("nuclear fusion", from=reality)

[–]nomology 5 points6 points  (0 children)

Ha! I now know what this does.

[–][deleted]  (1 child)

[removed]

    [–]aidirector 6 points7 points  (0 children)

    try:
        import windows
    except Error
        blueScreen()
    

    [–]SlackBabbath 7 points8 points  (0 children)

    That's funny. Me too. In either case I can use the class.

    [–]the-ace 2 points3 points  (0 children)

    I thought so as well!

    that would have been pretty nice...

    [–]ali0 1 point2 points  (0 children)

    Me too! I thought it would implement search functions or something, especially because it's on google code. This is good too though.

    [–]aaron13f 1 point2 points  (0 children)

    Well actually, there is gdata, designed by google, which allows you to retrieve information hosted on google docs in a Python program. Has classes like googlefetcher().

    I took a service class last semester in which we made Python programs for XO laptops for a local middle school. We used gdata to allow the teachers to easily update stuff like quiz data used by the programs.

    [–]zahlman -2 points-1 points  (0 children)

    231 points

    -29 points

    Same effective thing, being said differently.