<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thekoruku</author_name>
  <author_url>https://blog.hatena.ne.jp/thekoruku/</author_url>
  <blog_title>done is better than perfect</blog_title>
  <blog_url>https://dibtp.hateblo.jp/</blog_url>
  <categories>
    <anon>プログラミング</anon>
  </categories>
  <description>小ネタ。Pythonのsqliteインターフェースを使用するとき、cursor()オブジェクトを作成する必要があるかどうかの話。 Pythonのsqliteインターフェースを使用する際、公式のドキュメントなどではConnectionオブジェクトを作成し、それを用いて更にCursorオブジェクトを作ってからexecute()メソッドなどを読んでいます。 公式のドキュメントより引用conn = sqlite3.connect('/tmp/example') c = conn.cursor() # Create table c.execute('''create table stocks (date…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdibtp.hateblo.jp%2Fentry%2F2013%2F05%2F11%2F040509&quot; title=&quot;PythonのSQLiteインターフェースを使用するときに、Cursorオブジェクトを作成する必要があるのかという話 - done is better than perfect&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-05-11 04:05:09</published>
  <title>PythonのSQLiteインターフェースを使用するときに、Cursorオブジェクトを作成する必要があるのかという話</title>
  <type>rich</type>
  <url>https://dibtp.hateblo.jp/entry/2013/05/11/040509</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
