2008-10-25から1日間の記事一覧
Inline::Pythonというモジュールを使うとPythonのコードをperlに埋め込むことができます。 use Inline Python => <<'END'; import pybel def draw_png(smiles,file): mymol = pybel.readstring('smi',smiles) mymol.draw(filename=file, show=False) END dra…
Inline::Pythonというモジュールを使うとPythonのコードをperlに埋め込むことができます。 use Inline Python => <<'END'; import pybel def draw_png(smiles,file): mymol = pybel.readstring('smi',smiles) mymol.draw(filename=file, show=False) END dra…