Enviar búsqueda
Cargar
Python入門からpython twitter利用のハンズオン
•
6 recomendaciones
•
1,189 vistas
Yukitaka Uchikoshi
Seguir
Denunciar
Compartir
Denunciar
Compartir
1 de 30
Recomendados
Python twitterとtkinterのことはじめ
Python twitterとtkinterのことはじめ
Yukitaka Uchikoshi
「Python言語」はじめの一歩 / First step of Python
「Python言語」はじめの一歩 / First step of Python
Takanori Suzuki
「Python言語」はじめの一歩 / First step of Python / 2016 Jan 12
「Python言語」はじめの一歩 / First step of Python / 2016 Jan 12
Takanori Suzuki
2017/12/21 虎の穴 Python勉強会
2017/12/21 虎の穴 Python勉強会
虎の穴 開発室
python-twitterを用いたTwitterデータ収集
python-twitterを用いたTwitterデータ収集
Hikaru Takemura
Python 3.6 リリースパーティー 発表資料
Python 3.6 リリースパーティー 発表資料
Atsuo Ishimoto
今年使ってみて良かった、Pythonモジュール、パッケージ、ツール
今年使ってみて良かった、Pythonモジュール、パッケージ、ツール
aoshiman
久しぶりのPythonでgoogleのアレを制御してみた
久しぶりのPythonでgoogleのアレを制御してみた
Shohei Tai
Recomendados
Python twitterとtkinterのことはじめ
Python twitterとtkinterのことはじめ
Yukitaka Uchikoshi
「Python言語」はじめの一歩 / First step of Python
「Python言語」はじめの一歩 / First step of Python
Takanori Suzuki
「Python言語」はじめの一歩 / First step of Python / 2016 Jan 12
「Python言語」はじめの一歩 / First step of Python / 2016 Jan 12
Takanori Suzuki
2017/12/21 虎の穴 Python勉強会
2017/12/21 虎の穴 Python勉強会
虎の穴 開発室
python-twitterを用いたTwitterデータ収集
python-twitterを用いたTwitterデータ収集
Hikaru Takemura
Python 3.6 リリースパーティー 発表資料
Python 3.6 リリースパーティー 発表資料
Atsuo Ishimoto
今年使ってみて良かった、Pythonモジュール、パッケージ、ツール
今年使ってみて良かった、Pythonモジュール、パッケージ、ツール
aoshiman
久しぶりのPythonでgoogleのアレを制御してみた
久しぶりのPythonでgoogleのアレを制御してみた
Shohei Tai
第1回python勉強会
第1回python勉強会
Yoshio Shimomura
PyCon2020 Pythonで競プロをしよう! 〜入門者が知っておくべき高速化Tips〜
PyCon2020 Pythonで競プロをしよう! 〜入門者が知っておくべき高速化Tips〜
Kosaku Ono
Python入門
Python入門
Shohei Okada
XML-RPC : Pythonが「電池付属」と呼ばれる理由
XML-RPC : Pythonが「電池付属」と呼ばれる理由
Ransui Iso
Apilecture for 2014/02/22 at shannonlab
Apilecture for 2014/02/22 at shannonlab
Yutaka Kobayshi
Python Kyoto study
Python Kyoto study
Naoya Inada
20170131 python3 6 PEP526
20170131 python3 6 PEP526
masahitojp
Python パッケージの影響を歴史から理解してみよう!
Python パッケージの影響を歴史から理解してみよう!
Kir Chou
Pythonを取り巻く開発環境 #pyconjp
Pythonを取り巻く開発環境 #pyconjp
Yoshifumi Yamaguchi
Python Kyoto study LT
Python Kyoto study LT
Naoya Inada
Pythonでゲーム作る
Pythonでゲーム作る
amusementcreators
PyCon JP 2012 hands-on セッション/ FlaskによるWebアプリケーションの実装とプログラミングツール
PyCon JP 2012 hands-on セッション/ FlaskによるWebアプリケーションの実装とプログラミングツール
Atsuo Ishimoto
PEP8を読んでみよう
PEP8を読んでみよう
2bo 2bo
Python3 プログラミング勉強会
Python3 プログラミング勉強会
Tetsuya Morimoto
Python 2/3コード共存戦略 #osakapy
Python 2/3コード共存戦略 #osakapy
敦志 金谷
素振りのススメ at Python入門者の集い
素振りのススメ at Python入門者の集い
Takayuki Shimizukawa
Elog and Ebuild Phase Hook
Elog and Ebuild Phase Hook
Yasuhiro Asaka
各OSにおいて、OpenCVをpythonから使う方法
各OSにおいて、OpenCVをpythonから使う方法
Katsuhiro Morishita
オープンCAEとPython
オープンCAEとPython
TatsuyaKatayama
Introduction of Python
Introduction of Python
Tomoya Nakayama
2008.10.18 L4u Tech Talk
2008.10.18 L4u Tech Talk
mitamex4u
rpi_handson_2.5
rpi_handson_2.5
teruyaono1
Más contenido relacionado
La actualidad más candente
第1回python勉強会
第1回python勉強会
Yoshio Shimomura
PyCon2020 Pythonで競プロをしよう! 〜入門者が知っておくべき高速化Tips〜
PyCon2020 Pythonで競プロをしよう! 〜入門者が知っておくべき高速化Tips〜
Kosaku Ono
Python入門
Python入門
Shohei Okada
XML-RPC : Pythonが「電池付属」と呼ばれる理由
XML-RPC : Pythonが「電池付属」と呼ばれる理由
Ransui Iso
Apilecture for 2014/02/22 at shannonlab
Apilecture for 2014/02/22 at shannonlab
Yutaka Kobayshi
Python Kyoto study
Python Kyoto study
Naoya Inada
20170131 python3 6 PEP526
20170131 python3 6 PEP526
masahitojp
Python パッケージの影響を歴史から理解してみよう!
Python パッケージの影響を歴史から理解してみよう!
Kir Chou
Pythonを取り巻く開発環境 #pyconjp
Pythonを取り巻く開発環境 #pyconjp
Yoshifumi Yamaguchi
Python Kyoto study LT
Python Kyoto study LT
Naoya Inada
Pythonでゲーム作る
Pythonでゲーム作る
amusementcreators
PyCon JP 2012 hands-on セッション/ FlaskによるWebアプリケーションの実装とプログラミングツール
PyCon JP 2012 hands-on セッション/ FlaskによるWebアプリケーションの実装とプログラミングツール
Atsuo Ishimoto
PEP8を読んでみよう
PEP8を読んでみよう
2bo 2bo
Python3 プログラミング勉強会
Python3 プログラミング勉強会
Tetsuya Morimoto
Python 2/3コード共存戦略 #osakapy
Python 2/3コード共存戦略 #osakapy
敦志 金谷
素振りのススメ at Python入門者の集い
素振りのススメ at Python入門者の集い
Takayuki Shimizukawa
Elog and Ebuild Phase Hook
Elog and Ebuild Phase Hook
Yasuhiro Asaka
各OSにおいて、OpenCVをpythonから使う方法
各OSにおいて、OpenCVをpythonから使う方法
Katsuhiro Morishita
オープンCAEとPython
オープンCAEとPython
TatsuyaKatayama
Introduction of Python
Introduction of Python
Tomoya Nakayama
La actualidad más candente
(20)
第1回python勉強会
第1回python勉強会
PyCon2020 Pythonで競プロをしよう! 〜入門者が知っておくべき高速化Tips〜
PyCon2020 Pythonで競プロをしよう! 〜入門者が知っておくべき高速化Tips〜
Python入門
Python入門
XML-RPC : Pythonが「電池付属」と呼ばれる理由
XML-RPC : Pythonが「電池付属」と呼ばれる理由
Apilecture for 2014/02/22 at shannonlab
Apilecture for 2014/02/22 at shannonlab
Python Kyoto study
Python Kyoto study
20170131 python3 6 PEP526
20170131 python3 6 PEP526
Python パッケージの影響を歴史から理解してみよう!
Python パッケージの影響を歴史から理解してみよう!
Pythonを取り巻く開発環境 #pyconjp
Pythonを取り巻く開発環境 #pyconjp
Python Kyoto study LT
Python Kyoto study LT
Pythonでゲーム作る
Pythonでゲーム作る
PyCon JP 2012 hands-on セッション/ FlaskによるWebアプリケーションの実装とプログラミングツール
PyCon JP 2012 hands-on セッション/ FlaskによるWebアプリケーションの実装とプログラミングツール
PEP8を読んでみよう
PEP8を読んでみよう
Python3 プログラミング勉強会
Python3 プログラミング勉強会
Python 2/3コード共存戦略 #osakapy
Python 2/3コード共存戦略 #osakapy
素振りのススメ at Python入門者の集い
素振りのススメ at Python入門者の集い
Elog and Ebuild Phase Hook
Elog and Ebuild Phase Hook
各OSにおいて、OpenCVをpythonから使う方法
各OSにおいて、OpenCVをpythonから使う方法
オープンCAEとPython
オープンCAEとPython
Introduction of Python
Introduction of Python
Similar a Python入門からpython twitter利用のハンズオン
2008.10.18 L4u Tech Talk
2008.10.18 L4u Tech Talk
mitamex4u
rpi_handson_2.5
rpi_handson_2.5
teruyaono1
SwiftのOptionalを理解する
SwiftのOptionalを理解する
幸雄 村上
Security.gs fes 2010 in tokyo
Security.gs fes 2010 in tokyo
Ren Sakamoto
221217 SwiftはPythonに似ている
221217 SwiftはPythonに似ている
Takuya Nishimoto
Can A Python Go Beyond The Python
Can A Python Go Beyond The Python
Yusuke Muraoka
Twitter sphere of #twitter4j #twtr_hack
Twitter sphere of #twitter4j #twtr_hack
kimukou_26 Kimukou
日常業務にperlを使おう
日常業務にperlを使おう
turugina
ハードウェアによる仮想化支援機能を利用したハイパバイザーIPS
ハードウェアによる仮想化支援機能を利用したハイパバイザーIPS
FFRI, Inc.
20220615_Visual_Programing_IoTLT_vol11_kitazaki_v1.pdf
20220615_Visual_Programing_IoTLT_vol11_kitazaki_v1.pdf
Ayachika Kitazaki
はじめてのPython
はじめてのPython
Katsumi Honda
Collective_Intelligence_chap2
Collective_Intelligence_chap2
Yutaro Sugai
Django_fukuoka
Django_fukuoka
ShuyaMotouchi1
StreamingAPIを使用したTwitter Bot @waketi の紹介
StreamingAPIを使用したTwitter Bot @waketi の紹介
kaiba d
Django_Fukuoka
Django_Fukuoka
Shuya Motouchi
Programming camp Codereading
Programming camp Codereading
Hiro Yoshioka
CLR/H No.35-2
CLR/H No.35-2
Nobuhisa Koizumi
Making a Drone by Python using RaspberryPi and Google VoiceKit
Making a Drone by Python using RaspberryPi and Google VoiceKit
Lina Katayose
Go Friday 傑作選
Go Friday 傑作選
Takuya Ueda
マルチコアを用いた画像処理
マルチコアを用いた画像処理
Norishige Fukushima
Similar a Python入門からpython twitter利用のハンズオン
(20)
2008.10.18 L4u Tech Talk
2008.10.18 L4u Tech Talk
rpi_handson_2.5
rpi_handson_2.5
SwiftのOptionalを理解する
SwiftのOptionalを理解する
Security.gs fes 2010 in tokyo
Security.gs fes 2010 in tokyo
221217 SwiftはPythonに似ている
221217 SwiftはPythonに似ている
Can A Python Go Beyond The Python
Can A Python Go Beyond The Python
Twitter sphere of #twitter4j #twtr_hack
Twitter sphere of #twitter4j #twtr_hack
日常業務にperlを使おう
日常業務にperlを使おう
ハードウェアによる仮想化支援機能を利用したハイパバイザーIPS
ハードウェアによる仮想化支援機能を利用したハイパバイザーIPS
20220615_Visual_Programing_IoTLT_vol11_kitazaki_v1.pdf
20220615_Visual_Programing_IoTLT_vol11_kitazaki_v1.pdf
はじめてのPython
はじめてのPython
Collective_Intelligence_chap2
Collective_Intelligence_chap2
Django_fukuoka
Django_fukuoka
StreamingAPIを使用したTwitter Bot @waketi の紹介
StreamingAPIを使用したTwitter Bot @waketi の紹介
Django_Fukuoka
Django_Fukuoka
Programming camp Codereading
Programming camp Codereading
CLR/H No.35-2
CLR/H No.35-2
Making a Drone by Python using RaspberryPi and Google VoiceKit
Making a Drone by Python using RaspberryPi and Google VoiceKit
Go Friday 傑作選
Go Friday 傑作選
マルチコアを用いた画像処理
マルチコアを用いた画像処理
Python入門からpython twitter利用のハンズオン
1.
2.
お前、誰よ? Name :
Yukitaka Uchikoshi job : 結婚式場で社内 SE id: uchikoshi22 level : Python 初心者クラス
3.
4.
1. Hello World
5.
$ python >>>
“Hello World” ??? >>> print “Hello World” ??? >>> exit()
6.
2. 名前で呼んでみよう
7.
>>> event =
“Python 勉強会” >>> print event ??? >>> place = “@AipCafe” >>> title = event + place >>> print title ???
8.
>>> name =
“uchikoshi” >>> number = 22 >>> id = name + number See what's gonna happen. And Fix it >>> print id ???
9.
3. 群れをなそう
10.
>>> lang =
[“Python”, “Ruby”,] >>> print lang[1] ??? >>> lang.append(“Perl”) >>> print lang[2] ???
11.
>>> lang[2] =
“Java” >>> print lang[2] ??? >>> lang.append(“ なでしこ” ) >>> lang.append(20120129) Think if the last 2 lines are correct
12.
>>> fw =
{“django”: “python”, “ rails”: “ruby”, “ catalyst”: “cisco”} >>> print fw[“python”] ??? >>> fw[“catalyst”] = “perl” >>> fw[“play”] = “java” >>> print fw ???
13.
4. 反復動作で楽をしよう
14.
>>> print 0
>>> print 1 >>> print 2 >>> print 3 >>> print 4 >>> print 5 >>> print 6 >>> print 7 >>> print 8 >>> print 9 >>> print 10
15.
>>> for i
in [0, 1, 2, 3, 4, 5]: . . . print i . . . ??? >>> for la in lang: . . . prnt la . . . ???
16.
5. 人生とは選択の連続である
17.
>>> for i
in range(1, 100): . . . if i % 2 == 0: . . . print i . . . else: . . . continue . . . ???
18.
>>> lang =
[“python”, “ruby”, “perl”] >>> for la in lang: . . . if la == “python”: . . . print “use django” . . . elif la == “ruby”: . . . print “use rails” . . . else: . . . print “Learn Ruby” . . .
19.
6. 魔法のランプを作ろう
20.
>>> def gae_fw():
. . . return “kay” . . . >>> fw = gae_fw() ??? >>> def web_fw(): . . . return “django”, “flask” . . . >>> fw0, fw1 = web_fw() >>> print fw0, “,”, fw1 ???
21.
ナベアツ関数
22.
>>> def nabeatsu(n):
. . . if n % 3 == 0: . . . return True . . . elif “3” in str(i): . . . return True . . . else: . . . return str(n) . . . >>> for i in range(1, 100): . . . if nabeatsu(i): . . . print i, “!!!” . . . else: . . . print I . . . ???
23.
7. Twitter
のタイムラインを 取得しよう
24.
25.
twitter.py をダウンロード 口頭で説明します!
http://code.google.com/p/python-twitter/ のソースを改変したものです。 (通常は pip でのインストールを推奨します)
26.
次のコードを twitter.py と同じディレクトリに保存してください。
#!/usr/bin/env python import twitter api = twitter.Api() statuses = api.GetUserTimeline(id='uchikoshi22', count=2) for s in statuses: print s.text
27.
28.
29.
The Zen of
Python $python >>> import this
30.
FukPUG ではハンズオン講師を 募集しています
これからもよろしくお願いします