Hi, yes it worked. that mistake is so shameful ... :P thanks andrea
2005/6/30, lie...@ultr.vub.ac.be <lie...@ultr.vub.ac.be>: > 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 > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users >