Archive for the ‘python’ Category
Friday, November 20th, 2009
I found a good tutorial on IBM on doing Python development with Eclipse. It might be a little out of date, but I think only the screens got moved around a little bit. It includes details on how to use ant, which I've recently started using with cruise ...
Posted in eclipse, python | 3 Comments »
Thursday, October 1st, 2009
I finally found the manual for PyTables. In case anyone else is as blind as I am, I'm linking to it here.
Posted in pytables, python | No Comments »
Tuesday, September 22nd, 2009
NumPy is a requirement to work with PyTables. This is the second step in the install process, after getting HDF5 set up.
These instructions are based on the ones found on the NumPy site, but I'm summarizing things for my own use later on.
First, you'll need to install the Fortran ...
Posted in fortran, mac, numpy, python | No Comments »
Monday, September 21st, 2009
I'm trying to evaluate pytables as a replacement for very large Python dictionaries, but having some issues getting HDF5 installed on my Mac (OS X Snow Leopard).
I've been getting this error:
configure: error: C compiler cannot create executables
I haven't been able to figure out what's wrong yet - anyone ...
Posted in hdf5, python | No Comments »
Thursday, May 29th, 2008
There's a weird behavior in Python when dealing with Mutable types such as dictionaries, that when you modify a variable defined as a class attribute, you're actually modifying a shared dictionary amongst all the classes. This seemed weird to me. You can read the lovely discussion about it, ...
Posted in python | No Comments »
Tuesday, December 18th, 2007
I had an issue getting phpsh to work on my mac - I kept getting the following error:
Traceback (most recent call last):
File "./phpsh", line 20, in
import readline
OK, seems easy enough. So I compiled python with readline support.
./configure --prefix=/usr/local/python --enable-readline
I change the ...
Posted in php, python | No Comments »