White scenery @showyou, hatena

If you have any comments, you may also send twitter @shsub or @showyou.

Entries from 2008-02-20 to 1 day

応答元を引き出す

自前ライブラリを使いまくってて理解できないとおもいますが、 一応こんな感じでいけたよーって報告。 # -*- coding: utf-8 -*- def getChatLog(): import time,json,twitter2,re,toDate,datetime file = open("user.dat",'r') userdata = json.read(file.re…

正規表現使ってみる

# @(英数字)空白 -> user reg = re.compile('@(\S+\s)') match = reg.match('@showyou ') if match: print "match:", print match.group(1) 結果: match: showyou こうですかね?