On Thursday 30 June 2005 13:26, Andrea Spitaleri wrote:
> from pymol import cmd
> file=open("file.nam")
> for i in file.readlines():
>     cmd.load(i)

You may have to strip the trailing newline ("\n") from each file name by using 
"cmd.load(i.strip())".

Hope this helps,
-- 
Lieven Buts
Vrije Universiteit Brussel

Reply via email to