SimPy を使ってみる - I Tried to Use SimPy
はじめに - Introduction
最近、SimPy をいじって遊んでいるので紹介します。
Recently, I play SimPy with fun and introduce it.
SimPy って何? - What is SimPy?
SimPy (Simulation in Python) は、Python のパッケージで、シミュレーションを簡単に行えます。
SimPy (Simulation in Python) is Python's package, which allows us to simulate easy.
理解が曖昧なので、ソースコードをブログに載せながら、何ができるのかを学んでいきます。
My understanding is amgiguous, so I'll write source cord on my blog and learn about what SimPy can.
日本語のドキュメントを増やしていくという目的もあります。
I also have a goal to increase Japanese documents.
以下のデータの通り、SimPy の日本語のドキュメントが少ないです。
According to the following data, the number of Japanese documents of SimPy is small.
全体の約200分の1!
About a two-handredth of a whole!
SimPy Python の検索結果 約 19,200,000 件中 1 - 10 件目 (0.06 秒)
SimPy Python に一致する日本語のページ 約 91,000 件中 1 - 10 件目 (0.06 秒)
SimPy の詳細は公式ページをご覧ください。
More detail of SimPy, please read the fomula page.
Python のインストール - Install Python
SimPy を使うには Python が必要です。
If you'd like to use SimPy, you have to get Python.
Windows へ - To Windows
インストーラを使います。
We use installer.
日本語環境用インストーラ(Win32),Python 2.3.4ベース
※日本語環境です - Japanese Environment
SimPy のインストール - Install SimPy
SimPy はここからダウンロードできます。
We can download SimPy from SimPy Homepage
ファイルを解凍し……。
Extract file ...
$ python setup.py install
すると……
Then you can see the followings ...
running install running build running build_py running install_lib ... running install_egg_info Writing /usr/lib/python2.5/site-packages/SimPy-2.0.1.egg-info
インストール成功です!
Now install was successed!
―ω― シミュレーションしてニヤニヤしてたい