<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sironekoblog</author_name>
  <author_url>https://blog.hatena.ne.jp/sironekoblog/</author_url>
  <blog_title>しろねこらぼ（旧）</blog_title>
  <blog_url>https://sironekoblog.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング</anon>
    <anon>python</anon>
  </categories>
  <description>いつも忘れるのでまとめておく。 pythonのバージョンはpython3.7を利用している。始めに次のようなコードを考える。 print('Hello! python') これを関数化して別ファイルに移せば import greeting greeting.helloworld() def helloworld(): print('Hello! python') これで同様な結果を得ることができる。 ここで、greeting.pyを def helloworld(): print('Hello! python') def hey(): print('hey') def hello(): pri…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsironekoblog.hatenablog.com%2Fentry%2F2021%2F02%2F26%2F090504&quot; title=&quot;pythonで記述した関数を別ファイルに記述し直してimportする - しろねこらぼ（旧）&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>2021-02-26 09:05:04</published>
  <title>pythonで記述した関数を別ファイルに記述し直してimportする</title>
  <type>rich</type>
  <url>https://sironekoblog.hatenablog.com/entry/2021/02/26/090504</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
