Hi all, I am working on IMDb plugin, some work is already done which is nice :). Fighting (sorry, playing) with python/twisted and so on :) For now, I can retrieve/show details, posters. The information retrieval is based on folder name which is used for IMDb search query.
I want to cache movie model so the next time I don't have to load it from internet. For posters this works easily (just get the JPG data and dump it in file), however when I pickle my model (inherited from Model, thus Bindable), the unpickling won't work (for obvious reason - bindings are not valid anymore). My idea was to solve it locally now, whether overriding __reduce__ or making own XML se/deserializer (more work of course). Which one is preferred way, and shouldn't this be solved on Bindable itself? Is it possible to set dependencies which plugin has for external libraries (such as BeautifulSoup etc)? And one small UI question - how can I make text "wrap". I tried longer text with Label or Text widget but I can't get it to wrap to next line. Specifing height makes the font just bigger... Thanks Matej ---------- www.inPage.sk ��� Domena, webhosting, e-mail a seo od 3 Sk/denne.
