<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>salamence_andrias</author_name>
  <author_url>https://blog.hatena.ne.jp/salamence_andrias/</author_url>
  <blog_title>物理のベンチ by mitta</blog_title>
  <blog_url>https://phbe.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>はじめに このくそ忙しい時期にRS-232Cのシリアル通信で実験機器のパラメータを早急に変える必要があった。 滅多に行わない処理で、常設のコードなんてものはないので、GUIとかを使用せずにPythonで変えるだけやってしまおうと判断した。 問題 シリアル通信のモジュールをpip installし、いざ import serial conn = serial.Serial(&quot;COM3&quot;, baudrate=9600) &gt;&gt;&gt; AttributeError: module 'serial' has no attribute 'Serial' serialにSerialがないと怒られる。 原因 Py…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fphbe.hateblo.jp%2Fentry%2F2023%2F03%2F21%2F135621&quot; title=&quot;【備忘録】Pythonのserialモジュールは似たようなものが2つある - 物理のベンチ by mitta&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>2023-03-21 13:56:21</published>
  <title>【備忘録】Pythonのserialモジュールは似たようなものが2つある</title>
  <type>rich</type>
  <url>https://phbe.hateblo.jp/entry/2023/03/21/135621</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
