12012010 chemoinformatics Python pluto
こんな感じで。 titleとかはmol.title("newtitle")にしたほうがいいのかこのままでいいのか決めかねているのでそのうちちゃんと考える。
エタンをエチレンに変えてみた
>>> from pluto import *
>>> mol = Molecule.readstring("CC\tethane")
>>> mol.bond([1,2]).order(2)
>>> mol.title = "ethylene"
>>> mol.writestring()
'C=C\tethylene\n'
あとはmolecule同士のの結合とatomの追加と削除を実装すればよさそう
PLUTO (1) (ビッグコミックス)

エアロソアラ タトアージュレッド(Bバンド)
Built with Processing [改訂版]
Beginning Game Development With Python and Pygame: From Novice to Professional