A Tuesday 07 December 2010 17:09:44 Anthony Scopatz escrigué:
> Hello Francesc,
> 
> Yes, the do/undo machinery is already capturing this (among other
> 
> > events).  If you are only interested in triggering an action on
> > node creation,
> 
> Actually, this was fairly easy to expose.  Attached is a patch that
> allows the user to submit a 'hook' function that then gets called
> anytime the file is changed.  This is all I needed for what I was
> doing. Please let me know what you think!

Yeah, neat patch (and surprisingly simply).  I've added a ticket about 
it:

http://pytables.org/trac/ticket/324

If you can come up with a simple example for the examples/ directory, 
that would be really nice.

I hope to add this one in the next release of PyTables (2.2.2).

Thanks!

-- 
Francesc Alted

------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly 
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus 
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to