Advogato blog for jdahlinAdvogato blog for jdahlin18 May 2005- May 18, 2005 Introspection Been working quite a bit lately to get the new GObject introspection going. Spent too much time hunting various memory corruptions, but I finally managed to get to a point where I can do the following: import bank import Poppler doc = Poppler.Document('test.pdf', '') pages = doc.getNPages() print 'Document has', pages, 'pages.' which prints out: Document has 247 pages. The Poppler module is built completely from the introspection information, the...http://www.advogato.org/person/jdahlin/diary.html?start=12 |