<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>Python3</anon>
    <anon>Tips</anon>
  </categories>
  <description>Python3 (3.6.5)でオレオレモジュールを作成してインポートしようとした際に結構ハマったのでメモ importの基本 import &lt;module&gt;キーワードでモジュールをインポートする import math print( math.pi ) # =&gt; 3.141592653589793 モジュールのメソッドはmodule.methodで実行する from &lt;module&gt; import &lt;method&gt; でインポートするとモジュール名を都度記述しなくてもメソッドの呼び出しができる from math import pi, sqrt print( sqrt(9) ) # =&gt; 3.…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2018%2F08%2F24%2F090000&quot; title=&quot;Python3 自作モジュールのインポートにハマる - かもメモ&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://images-fe.ssl-images-amazon.com/images/I/51zN0cmbEIL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-24 09:00:00</published>
  <title>Python3 自作モジュールのインポートにハマる</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2018/08/24/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
