<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tiginkgo</author_name>
  <author_url>https://blog.hatena.ne.jp/tiginkgo/</author_url>
  <blog_title>初心者のためのpython入門</blog_title>
  <blog_url>https://tiginkgo.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>スクリプトの作成とモジュール 前回の最後の方のサンプルを除き、その全てをPythonの対話型インタープリタの中で実行してきました。 しかし、インタープリタで実行すると毎回起動するたびに前回のコード(定義した関数やクラスなど)は失われてしまいます。そこで、コードを再利用するためにファイルを作ってそこにコードを書いていきます。それにより再利用可能なプログラムを作成できます。 このことをスクリプトの作成と呼びます。また、その時に作成されたファイルのことをPythonではモジュールと呼びます。 スクリプトの作成と実行 前回の最後のサンプルは全てファイルで作成しました。まさに、スクリプトの作成です。スク…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftiginkgo.hateblo.jp%2Fentry%2F20171213%2F1513100917&quot; title=&quot;スクリプトの作成とモジュール - 初心者のためのpython入門&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>2017-12-13 02:48:37</published>
  <title>スクリプトの作成とモジュール</title>
  <type>rich</type>
  <url>https://tiginkgo.hateblo.jp/entry/20171213/1513100917</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
