Hi, > import os, __main__, time > > os.environ['PYMOL_PATH'] = "C:\Python27\PyMOL" > > __main__.pymol_argv = [ 'pymol', "-qx"] # Quiet and no GUI > import pymol > pymol.finish_launching() > > pymol.cmd.load("water.pdb") > time.sleep(1) > pymol.cmd.window("position", 500, 300) > > ...in Python, Pymol freezes. If I remove the sleep command, it freezes > before even displaying the test water molecules.
I couldn't reproduce it. On my Ubuntu with PyMOL 1.5.0.1 & Python 2.7, your script works just fine. As I don't use Windows version of PyMOL, I cannot test more. Best regards, Takanori Nakane ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ 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