That's the point - I can import from these directories - but can't 'run' from there.
I can only run a script by specifying the full path. Boris. On Tue, May 15, 2012 at 4:45 PM, Troels Emtekær Linnet <[email protected]> wrote: > write this in pymol command window: > > import sys > print sys.path > > There you can see where pymol is looking. > > Or you can this to your .pymolrc in your home folder: > > import sys > sys.path.append("/Path/to/your/Pymol-script/modules") > > Troels Emtekær Linnet > Ved kløvermarken 9, 1.th > 2300 København S > Mobil: +45 60210234 > > > > 2012/5/15 Boris Kheyfets <[email protected]> >> >> Is there a way I can add a path to 'run' - so not to type the full >> path to the script when I run it: >> >> run /path/to/script.py >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> PyMOL-users mailing list ([email protected]) >> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users >> Archives: http://www.mail-archive.com/[email protected] > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ PyMOL-users mailing list ([email protected]) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/[email protected]
