View Single Post
Old 07-05-2012, 07:35 AM   #42
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,733
Karma: 2197770
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Quote:
Originally Posted by Agama View Post
Thanks. I used your reply to find the Qt documentation at http://qt-project.org/doc/, so I'll check any further Qt issues there first of all. Which version of Qt does calibre use?
4.8 - just look at the properties for version of any of the dlls in your calibre install folder.
Quote:
I want to test some of the standard Python os and io functions to understand their use before incorporating into my plugin. Is there any way to play with them outside of a plugin?
Yeah I do this all the time. Just create a standalone .py file with your test code, and you can either run it using default python in your path "python test.py" or using calibre (which tends to be more practical if you start importing calibre namespaces) by "calibre-debug -e test.py".

Or you can create a __main__ section in the bottom of one of your plugin files for testing, you will see that around the place in calibre code and the odd plugin.
kiwidude is offline   Reply With Quote