Popular recipes tagged "meta:loc=429"http://code.activestate.com/recipes/tags/meta:loc=429/2016-09-28T12:21:03-07:00ActiveState Code RecipeswxPython PDF / XPS Viewer using PyMuPDF (binding for fitz / MuPDF) (Python) 2016-09-28T12:21:03-07:00Jorj X. McKiehttp://code.activestate.com/recipes/users/4193772/http://code.activestate.com/recipes/580621-wxpython-pdf-xps-viewer-using-pymupdf-binding-for-/ <p style="color: grey"> Python recipe 580621 by <a href="/recipes/users/4193772/">Jorj X. McKie</a> (<a href="/recipes/tags/cbz/">cbz</a>, <a href="/recipes/tags/epub/">epub</a>, <a href="/recipes/tags/mupdf/">mupdf</a>, <a href="/recipes/tags/pdf/">pdf</a>, <a href="/recipes/tags/pymupdf/">pymupdf</a>, <a href="/recipes/tags/wxpython/">wxpython</a>, <a href="/recipes/tags/xps/">xps</a>). Revision 2. </p> <p>A simple program to display a PDF (or XPS, EPUB, CBZ) document with forward / backward buttons and a field for directly jumping to a specific page. It uses the Python binding PyMuPDF for fitz, the high-performance / high-quality graphics library of MuPDF. It obviously can also be used to display XPS documents on non-Windows platforms.</p> <p>This new version also supports any links contained in a page.</p> Bag class (Python) 2013-07-19T21:08:46-07:00userhttp://code.activestate.com/recipes/users/4187240/http://code.activestate.com/recipes/578611-bag-class/ <p style="color: grey"> Python recipe 578611 by <a href="/recipes/users/4187240/">user</a> (<a href="/recipes/tags/datastructures/">datastructures</a>). Revision 8. </p> <p>A bag: a set-like container that simply counts the number of same items held within it. </p> Counter class (Python) 2013-07-18T05:40:07-07:00userhttp://code.activestate.com/recipes/users/4187240/http://code.activestate.com/recipes/578612-counter-class/ <p style="color: grey"> Python recipe 578612 by <a href="/recipes/users/4187240/">user</a> . </p> <p>A bag: like the physical object, it is a container. Duplicates are simply counted, rather than stored. </p>