<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>merrywhite</author_name>
  <author_url>https://blog.hatena.ne.jp/merrywhite/</author_url>
  <blog_title>CAFE BREAK</blog_title>
  <blog_url>https://cafebreak.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>Python3 pyautoguiで、@アットマークなどの記号の文字列が入力できないという状態になり、調べたところ、英語キーボードの影響のようです。 例えば以下のようになります。 &gt;&gt;&gt; import pyautogui&gt;&gt;&gt; pyautogui.write('p@ssw0rd')&gt;&gt;&gt; p`ssw0rd ということで、その対処法になります。 pyperclip.copyを使うことで回避できます。 import pyperclip pyperclip.copy('P@ssw0rd!')pyautogui.hotkey('ctrl','v') 他にも回避方法があるかもしれませんが、いったん上記対…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcafebreak.hatenablog.com%2Fentry%2F2025%2F03%2F24%2F053204&quot; title=&quot;Python pyautoguiで@アットマークなどの記号の文字列が入力できない 英語キーボードの影響 - CAFE BREAK&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://www11.a8.net/0.gif?a8mat=1NWF4B+CR1C1M+249K+BWGDT</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-03-24 05:32:04</published>
  <title>Python pyautoguiで@アットマークなどの記号の文字列が入力できない 英語キーボードの影響</title>
  <type>rich</type>
  <url>https://cafebreak.hatenablog.com/entry/2025/03/24/053204</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
