Indeed batch mode would not be what I wanted. Thanks for the hints, I'll give it a try.
I guess I'll also have to look at the glob module. Am 01.09.10 15:55, schrieb Michael F. Summers: > My favorite way to do this is to add the following to an alias file that is > sourced upon login: > > alias pm '/Applications/MacPyMol.app/Contents/MacOS/MacPyMOL $*' > > > With this approach, you can "cd" to any directory that contains a pdb file of > interest, > and type: pm filename.pdb > > Pymol launches, opens the pdb file, and uses the current directory. > > Mike > > > > On Sep 1, 2010, at 9:44 AM, Martin Hediger wrote: > >> Dear All >> I'm using Mac OS X and would like to start PyMOL from the command line, >> so I can open up .pdb files from a command line argument by issuing $ >> pymol -c /directory/*pdb (for some reason, within pymol it seems to be >> not possible to issue 'PyMOL> *pdb'). >> When I enter 'pymol' in the Terminal, the Shell freezes and I have to >> kill the process. >> What is required to do so PyMOL becomes launchable from the command line. >> >> Thanks for suggestions. >> >> Martin >> >> ------------------------------------------------------------------------------ >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> _______________________________________________ >> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) >> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users >> Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net >> > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net