Mac OS X iWorks (Pages, Numbers, Keynote): they are ZIP files containing obscure “.iwa” files

http://justsolve.archiveteam.org/wiki/Pages http://justsolve.archiveteam.org/wiki/Numbers http://pxlnv.com/blog/exploring-the-new-iwork-for-mac-file-formats/ http://pxlnv.com/linklog/likely-justificiation-iwork-file-formats/ http://mentalfaculty.tumblr.com/post/65232514882/iworks-new-file-formats Apparently huge XML files previously contained within those ZIP files got split up and compressed (but how???), and these pieces are now called “.iwa“. That was in favour of mobile devices working on partial files “in the cloud”. I have no plans working with spreadsheets “in the cloud”. I prefer… Continue reading Mac OS X iWorks (Pages, Numbers, Keynote): they are ZIP files containing obscure “.iwa” files

Python and XPath

https://en.wikipedia.org/wiki/XPath#Implementations has a section on Python http://shop.oreilly.com/product/9780596001285.do — O’Reilly Media book: Python & XML — published in 2003, you cannot use the “4DOM” samples any more — I discussed it a little in this article (on this blog): http://wp.me/p4qjMw-1Ac https://docs.python.org/3/library/xml.etree.elementtree.html#xpath-support https://docs.python.org/2/library/xml.etree.elementtree.html#xpath-support the Python2 and Python3 samples are practically the same, you can use identical code (apart from the “print” and… Continue reading Python and XPath

XMLStarlet – a command-line utility to deal with XML documents

https://en.wikipedia.org/wiki/XMLStarlet https://de.wikipedia.org/wiki/XMLStarlet http://xmlstar.sourceforge.net http://xmlstar.sourceforge.net/docs.php http://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html – User’s Guide http://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html#idm47077139502176 – the User’s Guide section on “Other XmlStarlet Resources” (with a few broken links) http://xmlstar.sourceforge.net/doc/xmlstarlet.txt – yet another document called “User’s Guide” but with more rather educative examples http://www.ibm.com/developerworks/library/x-starlet http://www.heise.de/ct/inhalt/15/14/172 — behind a paywall; my PDF copy lives on my archive at: Computers/Data_Formats/Markup_Languages/XML/Addressing_and_Querying/XPath/ http://www.freesoftwaremagazine.com/articles/xml_starlet CAVEAT: “xmlstarlet sel –template –value-of XPATH” lists all… Continue reading XMLStarlet – a command-line utility to deal with XML documents

Python Wiki: PythonXml – and what about XPath?

https://wiki.python.org/moin/PythonXml https://wiki.python.org/moin/PythonXml#XPath_Support https://wiki.python.org/moin/XmlBooks – all 3 books mentioned are like 15 years old http://shop.oreilly.com/product/9780596001285.do — “Python & XML” (2001) https://library.oreilly.com/book/9780596001285/python-amp-xml/toc — behind a paywall https://wiki.python.org/moin/Tutorials on XML processing with Python

pip, the Python package manager

https://en.wikipedia.org/wiki/Pip_(package_manager) http://www.pip-installer.org → https://pip.pypa.io https://pip.pypa.io/en/stable/reference/pip/?highlight=proxy#cmdoption–proxy — pip and how to specify an HTTP proxy to go through http://stackoverflow.com/questions/14149422/using-pip-behind-a-proxy — various ways … — also describes the use of %USERPROFILEpippip.ini and $HOME/.pip/pip.conf On my PC at work there are quite a few different Python installations, so which pip belongs to which Python installation? I guess calling pip like this will… Continue reading pip, the Python package manager