Quote:
Originally Posted by eschwartz
P.S. Change:
[...]
That way you use the default library path, instead of requiring users to modify the script. 
|
I've changed it in the text up there, but I'm keeping my own hardcoded version on my disk
Quote:
EDIT: Noticing your edits, you seemed to be slightly confused at first what GPM is.
It isn't python, it is a cut-down mini-language that compiles to python and is documented in the calibre manual. You can however define new functions in python.
|
Yeah, I'm not sure why, but I read the documentation as "well, here's the templating stuff, but if you want to break out into actual python, here's how, use program:". I read the GPM functions docs as being GPM=*specific* additional functions, rather than as being all you can use.