On 11/11/13 08:43, Folmer Fredslund wrote:
> Dear Chandan,
> 
> The command "log_open" will start writing a log file of events happening.
> 
> If you want a specific name for the logfile you write "log_open myfile.pml"
> 
> In that file the commands you type will be saved, as well as actions
> from menus (not sure how many, but I think most of them).
> 

Hi,

I have this as the first lines in my ~/.pymolrc

import datetime
_logdate = datetime.datetime.strftime(datetime.datetime.now(),
"%y%m%d%H%M%S")
cmd.log_open(filename="pymol-%s.pml"%_logdate)


Justin

-- 
Justin Lecher
Institute of Complex Systems
ICS-6 Structural Biochemistry
Research Centre Juelich
52425 Juelich, Germany
phone: +49 2461 61 2117


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
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

Reply via email to