Hi,

I want to show executed commands when right before they run, so I can track
my script execution.

Something like the following for all the commands:

    orig_create = cmd.create
    def create(*args, **kwargs):
        print('create', repr(args), repr(kwargs))
        orig_create(*args, **kwargs)
    cmd.create = create


I also want it to figure out what commands some GUI actions really do. Like
those in presets and so on.

There is some verbose option that does it?

Thank you,
Pedro Lacerda
_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to