Code Archive Skip to content Google About Google Privacy Terms
As promised in my previous post on xgoogle library, I have added a module to get results from Google Sets. Google Sets allows to automatically create groups of related items from a few example items. For example, you feed it "red, green, blue," and it will predict other colors such as "yellow, black, white, brown, etc." One of the most fascinating applications that this library can be used for is
You may ask, why write scripts instead of real Android applications? Admittedly, Android's development environment makes life pretty easy, but you're tied to a computer to do your work. ASE lets you develop on the device itself using high-level scripting languages to try out your idea now, in the situation where you need it, quickly. Have a look at the following example Lua script to see for yours
Data Source Python Library Google has open-sourced a Python library that creates DataTable objects for consumption by visualizations. This library can be used to create a DataTable in Python, and output it in any of three formats: JSON string -- If you are hosting the page that hosts the visualization that uses your data, you can generate a JSON string to pass into a DataTable constructor to popul
Protocol Buffers are language-neutral, platform-neutral extensible mechanisms for serializing structured data. What Are Protocol Buffers?Protocol buffers are Googleâs language-neutral, platform-neutral, extensible mechanism for serializing structured data â think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated sourc
Python | å 輩ãã Java ãã Google 翻訳ãè¡ãã©ã¤ãã©ãª google-api-translate-java ã使ã£ã¦è¯ãã£ããã¨ããã®ãèããã®ã§ãPython çã® pytranslator ã使ã£ã¦ã¿ã¾ããã #!/usr/bin/env python # coding: utf-8 from Translator import Translator # æ¥æ¬èªããè±èªã¸ j2e = Translator('ja', 'en') print j2e.translate('ããã«ã¡ã¯') # è±èªããæ¥æ¬èªã¸ e2j = Translator('en', 'ja') print e2j.translate('Hello').encode('utf-8') ããã sample_Translator.py ã¨ããååã§ä¿åãã¦æ¬¡ã®ããã«å®è¡ãã¾ãã kyoshida
PyGoogle A Python Interface to the Google API Unfortunately, Google no longer supports the SOAP API for search, nor do they provide new license keys. In a nutshell, PyGoogle is pretty much dead at this point. You can use their AJAX API instead. Take a look here for sample code: http://dcortesi.com/2008/05/28/google-ajax-search-api-example-python-code/ This module is a wrapper for the Google Web AP
Python Google Chart About pygooglechart is a complete Python wrapper for the Google Chart API. Examples Click on the chart images below to see the source code used to create the chart. Documentation Documentation and examples are slowly progressing. ChangeLog Example Code Installation pygooglechart works with Linux, Windows and Mac OS X. Binary Installers Source Install There are a few ways of ins
Pythonãããgdata-python-clientãã使ç¨ãã¦GoogleSpreadsheetã®å¤ãæ´æ°ãããã¨ãã§ãã¾ããç°¡åãªãµã³ãã«ãä½æãããã¾ããã®ã§ä¸è¨ã«æ²è¼ãã¾ãã â»ããã°ã©ã ã«å®ç¾©ããã¦ããå¤æ°ã«é©åãªå¤ãè¨å®ãã¦ãã ããã _username: GoogleAccountã®ã¡ã¼ã«ãè¨å®ãã¾ãã _password: GoogleAccountã®ãã¹ã¯ã¼ããè¨å®ãã¾ãã _key: GoogleSpreadsheetã«ã¢ã¯ã»ã¹ããéã®URLã«è¡¨ç¤ºããããkeyãã®å¤ãè¨å®ãã¾ãã #!/usr/bin/env python # -*- coding: utf-8 -*- import sys import codecs import gdata.spreadsheet.service sys.stdout = codecs.getwriter('cp932')(s
The Google PageRank Algorithm in 126 Lines of Python Reading How Google Finds Your Needle in the Web's Haystack I was surprised by the simplicity of the math underlying the google PageRank algorithm, and the ease with which it seemed to be efficiently implementable. Being able to do a google-style ranking seems useful for a wide range of cases, and since I had wanted to take a look at python for
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}