Category Archives: Python

Python code to convert UTF-8 to Latin-1

After dealing with UTF-8 to latin1 encoding issues repeatedly over the years I finally put the time into crafting a somewhat complete conversion script in Python that handles things like “smart” quotes and other commonly-used symbols. This probably isn’t the … Continue reading

Posted in Coding, Python | Leave a comment

Work-around for Mac OS X python package install error — "lipo: can’t figure out the architecture type"

This is just some quick documentation of a couple of work-arounds I needed to install the a python package on Mac OS X 10.6.6 (Snow Leopard). This solution could work in a number of cases, not just for this one … Continue reading

Posted in Python, Tips | 1 Comment

IPython with Python version 2.6 on OS X Leopard

I recently installed the excellent IPython program, a beefed-up Python console that provides a raft of extra features over the default interpreter and makes it even more of a pleasure to work with this language. When you install IPython on … Continue reading

Posted in Python, Tips | 7 Comments