ニュース

一度定義した関数は、いろいろなところで再利用したいものです。 本連載では、今までPythonのプログラムを記述したファイル「Pythonスクリプト」を作成してきました(Pythonスクリプトについて詳しくは連載第3回をご覧ください)。関数定義をPython ...
Python 2. 5以前からある 「turtle」 モジュールが、 Python 2. 6/ 3. 0からパワーアップしています。新しいturtleモジュールを利用すると、 オブジェクト指向アプローチでさまざまなデータの可視化ができます。turtleモジュールはtkinterを利用しただけの単一 ...
Once you know how to add and use a Python module, you will greatly extend the capabilities of the language. A Python module is an external class or set of functions that exist outside the main file of ...