>>> import tweepy >>> auth = tweepy.BasicAuthHandler("user", "password") >>> api = tweepy.API(auth) >>> api.update_status('hello from tweepy(Basic)') <tweepy.models.Status object at 0x13c8db0>

setuptoolsのダウンロード・インストール Python公式ページからsetuptools-0.6c11.win32-py2.x.exeをダウンロード・実行します。 oauth2のダウンロード・インストール githubから1.0.0をダウンロードし、ダウンロードした $> python setup.py install running install running bdist_egg running egg_info creating oauth2.egg-info writing oauth2.egg-info\PKG-INFO writing top-level names to oauth2.egg-info\top_level.txt writing dependency_links to oauth2.egg-info\dependency_links.t
どもー、最近 Python 使いになり始めた techno でございますー。 ここ数カ月、Python ばかり書きまくってるような気がしますが、まあ気にしない。 こまごました物を、いろいろ作って遊んでるのですが、ブログに書くほどでもなさそうだったり、ブログ書く時間がなかったりで、あまり書いてません... ま、今日は、時間もないけど、少し書いてみようかな、みたいな。 Python から twitter を扱うことについて。 簡単に、ざざざ、っとメモ書きだけ。 Python から twitter いじりたいなら、python-twitter を使うことになるかと。 python-twitter - Google Code Debian とかだと、リポジトリに入ってます。 sudo aptitude install python-twitter とかすれば使えるようになっちゃいます。 ただし、v
Twitter APIのPython ラッパーライブラリのインストール手順を以下に紹介。 実行環境は以下の通り。 OS :Windows7 Pythonの実行パス :C:\Python27 ダウンロードするもの python-twitter ライブラリ http://code.google.com/p/python-twitter/ 依存ライブラリ https://pypi.org/project/simplejson/ http://code.google.com/p/httplib2/ http://github.com/simplegeo/python-oauth2 インストール手順 まず、依存ライブラリをインストールする。それぞれ解凍したフォルダ上で以下のコマンドを実行 C:\httplib2-0.6.0>python setup.py install C:\simplejson-
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く