Code Archive Skip to content Google About Google Privacy Terms
gdataライブラリをダウンロードしてきます。 http://code.google.com/p/gdata-python-client/ インストールしなくても以下のディレクトリが見えていれば実行できます。 gdata/ atom/ カレンダーに予定を書き込んで、予定の一覧を表示するコードです。 import gdata.calendar.service import gdata.service import atom.service import gdata.calendar import getopt, sys, string, time, atom calendar_service = gdata.calendar.service.CalendarService() calendar_service.email = '********' calendar_service.passw
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
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く