import feedparser python_wiki_rss_url = "http://www.python.org/cgi-bin/moinmoin/RecentChanges?action=rss_rc" feed = feedparser.parse( python_wiki_rss_url ) print(feed)
↓のリンク参照
import feedparser python_wiki_rss_url = "http://www.python.org/cgi-bin/moinmoin/RecentChanges?action=rss_rc" feed = feedparser.parse( python_wiki_rss_url ) print(feed)
↓のリンク参照
1.15.66
けっこうおおい。
a1 notation
なんのことかと思ったら表記法だった シート名は日本語もOK 絵文字は知らない
表記 | 範囲 |
---|---|
Sheet1!A1:B2 | Sheet1のA1 A2 B1 B2 |
Sheet1!A:A | Sheet1のA列全部 |
Sheet1!1:2 | Sheet1の1行目と2行目全部 |
Sheet1!A5:A | Sheet1のA列 5行目から下全部 |
A1:B2 | 最初のシートのA1 A2 B1 B2 |
Sheet1 | Sheet1全部 |
https://developers.google.com/sheets/api/guides/concepts#a1_notation
要素を配列に突っ込みながら、Lambdaでフィルタリングもできる
soup.findAll(text="one") # [u'one'] soup.findAll(text=u'one') # [u'one'] soup.findAll(text=["one", "two"]) # [u'one', u'two'] soup.findAll(text=re.compile("paragraph")) # [u'This is paragraph ', u'This is paragraph '] soup.findAll(text=True) # [u'Page title', u'This is paragraph ', u'one', u'.', u'This is paragraph ', # u'two', u'.'] soup.findAll(text=lambda(x): len(x) < 12) # [u'Page title', u'one', u'.', u'two', u'.']
store = file.Storage('token.json')
がうまく読み込めないのでNoneにしたimport re
は一応書かないといけない
pip install bs4
arg list too long
$ getconf ARG_MAX
describe-function特になし。Twitterのキーワード検索。時間おきにfetchしてる
twittering-search is an interactive compiled Lisp function in ‘twittering-mode.el’. (twittering-search &optional WORD) Not documented. [back]
redux-devtools-extension
Docbaseだと ![](url =200x200)
みたいな書き方で画像のサイズを指定できるけど、
CommonMark(準公式)とかGFMとかでは特段サイズ指定に対する言及はない。