Category Archives: Python

Pre-compiled binaries for PyCrypto 2.6.1 (py27) on Win7

There is a “new” version of PyCrypto out, and I can’t find any simple way to install it on Windows.  This is hardly news, and usually the Michael Foord has ready made windows installers over at Voidspace. To be totally … Continue reading

Posted in Python | Leave a comment

Package dk

I spent a little time getting familiar with the life-cycle steps of publishing a Python package… working with code on github (https://github.com/thebjorn/dk)  Hint:  use their windows application, it makes everything very streamlined. figuring out setup.py so that the package is … Continue reading

Posted in Python | 1 Comment

python :: Calculating the distance between two locations…

How far is it from point a to point b? There are complicated ways to answer this question, that e.g. takes into account whether you’re walking or driving etc. However, if you only need the approximate distance “as the crow … Continue reading

Posted in Python | Leave a comment

emacs :: autocompletion and code-commenting

I’m a believing member in the church of emacs, and in honor of the new release I went looking for solutions to a couple of outstanding issues I’ve had with my emacs installation. Today’s first emacs find is M-; which, … Continue reading

Posted in emacs, Python | Leave a comment