Thread: maya recipe
View Single Post
Old 10-25-2010, 11:08 AM   #38
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by marbs View Post
i asked this before, but i think it was missed with all the other stuff going on. how hard would it be to make this script run in python (not in calibre)? i still want to get the pdf files...
It wasn't missed - I ignored it

Calibre is mostly a superset of Python. I'm not sure what you're asking. You can easily run any recipe outside of the GUI with ebook-convert. You can easily import anything you need from Python. You can easily subclass any of the provided classes to override or modify program behavior. You can easily run .py code file with calibre-debug -e outside the GUI. If I understand it, I think you want to do a GET of a pdf file, perhaps run some conversion on it, etc.? I suspect it's possible, but I've never seen it done. I'd just start doing it and solve the problems as they appear. I don't see anything that jumps out at me and says it's impossible, provided you're willing to put in the effort, but I don't know of any stock code that will do all that you might want done (whatever that is?)
Starson17 is offline   Reply With Quote