Not work.

time.sleep( 5 ) 
did not outpput any error, but freeze for a few seconds. However, nothing come 
out on the Pymol interface.


------------------ Original ------------------
From:                                                                           
                                             "Tamas Hegedus"                    
                                                                
<[email protected]&gt;;
Date:&nbsp;Tue, Sep 1, 2020 02:21 AM
To:&nbsp;"pymol-users"<[email protected]&gt;;

Subject:&nbsp;Re: [PyMOL] How to hold/wait for some time?



                   This one?
     https://www.tutorialspoint.com/python/time_sleep.htm
     
     On 8/31/20 7:51 PM, ZHANG Cheng wrote:
     
                   I use the command below, trying to display the object one by 
        one, with 2 seconds in between. So how to "wait for 2 seconds"?
       
       
                from pymol import cmd
         cmd.enable('protein_1')
         # how to hold for 2 seconds?&nbsp;
         cmd.disable('protein_1')
         cmd.enable('protein_2')
         # how to hold for 2 seconds?&nbsp;&nbsp;
         cmd.disable('protein_2')
       
       
       
       Thank you!
       
       
       
       
       
              
              _______________________________________________ PyMOL-users 
mailing list Archives: 
http://www.mail-archive.com/[email protected] Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe
_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/[email protected]
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to