From: <272...@qq...> - 2020-08-31 18:34:43
|
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" <bio...@gm...>; Date: Tue, Sep 1, 2020 02:21 AM To: "pymol-users"<pym...@li...>; Subject: 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? cmd.disable('protein_1') cmd.enable('protein_2') # how to hold for 2 seconds? cmd.disable('protein_2') Thank you! _______________________________________________ PyMOL-users mailing list Archives: http://www.mail-archive.com/pym...@li... Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe |