2009-01-09から1日間の記事一覧

IronPythonの呼び出しでエラー

import clr from System import * random = Random()というIronPyhtonのスクリプトをC#から呼び出すと 「not defined "random"」エラーとなる。 スクリプトだけをipy.exeのコマンド上で実行すると、もちろんエラーにはならない。 ということは、C#側のIr…