From: John R. <lam...@gm...> - 2011-02-17 07:20:39
|
Hi, I'm sorry for making such beginner's questions but searching the manual, google or the wiki didn't help me. I know how to extend pymol by writing python functions (through the extend command). But is it possible to do the opposite? I want to write a script that loads a molecule, does something to it and then displays the pymol window or outputs a png file. I want to this without having to enter commands in the pymol command line, since I need to put these operations in a script, without interactive control on pymol. Example. I want to write a script examply.py with which I can do ./examply.py mymolecule.xyz And for output I want to get mymolecule.png or the pymol window with all the operations already done. Any hints? Thank you. John |