<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>art2nd</author_name>
  <author_url>https://blog.hatena.ne.jp/art2nd/</author_url>
  <blog_title>晴歩雨描</blog_title>
  <blog_url>https://2ndart.hatenablog.com/</blog_url>
  <categories>
    <anon>コンピュータ</anon>
    <anon>サイエンス・自然・宇宙</anon>
  </categories>
  <description>Pythonで、Windows用のシンプルな電卓アプリを作成。 よくある電卓アプリのような数字や＋－＊／のボタンはない。 四則演算しかできない。 ()は使える。 単に数式を入力してEnterキーで計算するだけ。 一度計算した数式を修正してEnterキーで再計算できる。 【Python「calculator.pyw」ソースコード】 import tkinter as tk import re def safe_eval(expr): cleaned = re.sub(r'\s', '', expr) if not cleaned: return None if not re.fullmatch(…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2F2ndart.hatenablog.com%2Fentry%2F2026%2F06%2F06%2F124727&quot; title=&quot;Windows）Python）シンプルな電卓（数式・四則演算エディタ）アプリ作成。Nuitkaでexe化。ICOアイコン付きで。 - 晴歩雨描&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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/art2nd/20260606/20260606144813.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-06-06 12:47:27</published>
  <title>Windows）Python）シンプルな電卓（数式・四則演算エディタ）アプリ作成。Nuitkaでexe化。ICOアイコン付きで。</title>
  <type>rich</type>
  <url>https://2ndart.hatenablog.com/entry/2026/06/06/124727</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
