Tagged: python

Posts

Printing from Python on a Mac

Printing from Python on a Mac

I recently automated the download of one of my favorite cryptic crosswords, both because I am nerdy and because it went behind an extravagantly high paywall. In the process I decided I wanted Sunday mornings to be even more leisurely and made the script …

Posts

Autocomplete in Python Shell on Windows

Autocomplete in Python Shell on Windows

Because I drive myself insane replicating this when I find I want autocomplete on Windows, here are the steps (as of January 2017 anyway):

  • pip install pyreadline
  • pip install ipython[shell]

Except right now step 2 fails when installing scandir so I grabbed it …

Posts

wxPython on OSX Mavericks with or without Homebrew

wxPython on OSX Mavericks with or without Homebrew

Just a short note for anyone else who runs into this nonsense: I could not get the current version of wxPython to install in a useful way using homebrew. brew install wxmac --python --devel to install into my Homebrew-controlled Python install worked …

Posts

Django Profiling Bug

Django Profiling Bug

I’m doing some work profiling a large Django application and I was running into this weird error when I tried to aggregate the stats with gather_profile_stats.py which comes with Django. It kept throwing TypeError: zip argument #1 must support iteration if there were two profile …

Posts

MySQL and Python on OSX

MySQL and Python on OSX

Because I rarely use MySQL nowadays and because how often do you set up a new machine, this is a reminder to myself on how to get mysql-python installed in a virtualenv

  1. Add /usr/local/mysql/bin to your path (permanently in your .profile)
  2. If …
Portfolio

Fidelity: Broker Information Site

Fidelity: Broker Information Site

2010-03-01

Private web site that brings encrypted XML data about funds into Expression Engine which displays the information in HTML and PDF formats.

A massive undertaking in three parts

Fund Information

This client has a large mutual fund business with a number of channels they sell …