<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>posturan</author_name>
  <author_url>https://blog.hatena.ne.jp/posturan/</author_url>
  <blog_title>Oboe吹きプログラマの黙示録</blog_title>
  <blog_url>https://oboe2uran.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>PyCharm エディタで開いた時、同じディレクトリ内の python ソースの import 文が 警告が出てしまう。実行できないわけではない。 本来ならば、 xxx.py という同じフォルダ内のインポート文は、from + &quot;.&quot; + import + &quot;xxx&quot; で from . import xxx と書くのが正しいのだろうけど、 import xxx のままで警告なしにする場合、PyCharm のプロジェクトのフォルダの設定を調整すれば 警告なくなりすっきりする。 フォルダを選択→右クリック→ 「Mark Directory As」→「Source Root」 日本語化してるなら、以…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Foboe2uran.hatenablog.com%2Fentry%2F2018%2F08%2F28%2F163348&quot; title=&quot;PyCharm で同じディレクトリ内の python  import の Unresolved  の警告エラーを防ぐ  - Oboe吹きプログラマの黙示録&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/p/posturan/20180828/20180828162955.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-28 16:33:48</published>
  <title>PyCharm で同じディレクトリ内の python  import の Unresolved  の警告エラーを防ぐ </title>
  <type>rich</type>
  <url>https://oboe2uran.hatenablog.com/entry/2018/08/28/163348</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
