Embedding Python in Glom

Today has been quite successful. So that field values can be calculated from other fields, I have embedded the Python interpreter into Glom. This should give people a lot of freedom to play with their data, and to get special information such as the current date/time. I might even use it for scripting, like in Filemaker, so that people can put buttons on their layouts to make stuff happen. And people could use pygtk to interact with the user.

John Ehresman on the #pygtk irc channel was very helpful with this.

I also need to provide the field values to the python environment, so that the script has some data to work with, but that looks quite straightforward.

Glom calculated fields