Hi Lina, Here's my trick for doing this. I created a directory called pymol_scripts. Then, the scripts I download from the PyMOLWiki are put them into this directory. Then using the following code in my .pymolrc, PyMOL will automatically run these scripts for me on startup:
python import glob for f in glob.glob("/home/vertrees/pymol_scripts/*.py"): cmd.do("run " + f) python end The obvious danger here is that you need to know what each script does. If you automatically run a malicious script, you could be in trouble. Of course, if anyone sees a malicious script on the PyMOLWiki, I hope it'd be noticed and removed very quickly--but regardless, one needs to be careful using resources created by another. Cheers, -- Jason On Mon, Sep 19, 2011 at 1:10 AM, lina <lina.lastn...@gmail.com> wrote: > Hi, > > Just a quick Q: > > How can I better organize those *.py I mainly obtained from pymol wiki, > not those can be installed by the plugins, > > pymol run in different directory each time. > > > > Thanks, > > > -- > Best Regards, > > lina > > > > ------------------------------------------------------------------------------ > BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA > Learn about the latest advances in developing for the > BlackBerry® mobile platform with sessions, labs & more. > See new tools and technologies. Register for BlackBerry® DevCon today! > http://p.sf.net/sfu/rim-devcon-copy1 > _______________________________________________ > 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 > -- Jason Vertrees, PhD PyMOL Product Manager Schrodinger, LLC (e) jason.vertr...@schrodinger.com (o) +1 (603) 374-7120 ------------------------------------------------------------------------------ BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerry® mobile platform with sessions, labs & more. See new tools and technologies. Register for BlackBerry® DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 _______________________________________________ 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