From: DeLano, W. <wa...@su...> - 2002-06-20 16:40:02
|
> From: Kristian Rother [mailto:kri...@be...] >=20 > As suggested by Warren, i have made some improvements to the=20 > ScriptBox,=20 > which should integrate better into PyMOL now, Thanks Kristian! > On my page, there is also a 'quick and dirty' hack for PyMOL. > FilePipe.py allows to execute PyMOL commands from a shell. It=20 > starts its=20 > own thread and reads lines from a text file. This doesn't=20 > work well, but=20 > it works. > Does anyone have a better idea to do this? Try launching PyMOL with the "-p" option. PyMOL will then accept = commands on standard input using a separate thread, in a manner similar = to what you describe. See 'help launching' for other command line options. Cheers, Warren |