<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinshin86</author_name>
  <author_url>https://blog.hatena.ne.jp/shinshin86/</author_url>
  <blog_title>at backyard</blog_title>
  <blog_url>https://shinshin86.hateblo.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>備忘録</anon>
    <anon>psutil</anon>
  </categories>
  <description>だいたいTwitterでつぶやいしてしまったので、そちらを貼る。 PythonでPCが充電中かどうかをチェックしたいと思っていたが、psutilというライブラリを使えば簡単に調べられそうだった。試しにtkinterでサンプルアプリを書いてみた。 pic.twitter.com/8w091mlqWT— Yuki Shindo (@shinshin86) 2022年6月9日 ソースはGitHubに公開しているので、そちらを参照。 ちなみにこちらのサンプルはGUIアプリとしており、tkinterを用いている。 またcx_Freezeを用いて配布可能な実行ファイル上でも問題なく動作するかを確認できるよ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinshin86.hateblo.jp%2Fentry%2F2022%2F06%2F10%2F075329&quot; title=&quot;Pythonを用いてPCが充電中かどうかを確認する - at backyard&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>2022-06-10 07:53:29</published>
  <title>Pythonを用いてPCが充電中かどうかを確認する</title>
  <type>rich</type>
  <url>https://shinshin86.hateblo.jp/entry/2022/06/10/075329</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
