あ゛ーーーーー探した探した。 既にimportしてあるモジュール名から、そのモジュールがどのファイルからロードされているのかを調べる方法。 MELだとwhatIsして、戻って来た文字から取得、みたいなことやったりしてましたが、 Pythonには何かあるはずだ!と信じて探したところ、ありました。 いやー、探した探した。 以下方法。 module名.__file__ はい、以上。 試しにMaya上から以下を実行すると・・・ import os print( os.__file__ ) 結果はこんな感じ。 C:\Program Files\Autodesk\Maya8.5\bin\python24.zip\os.py ————————–以下追記 こんな方法もあるらしい。 うーん、cookbook欲しいな。