Re: [Tutor] accessing Postgres db results by column name

2010-04-10 Thread Serdar Tumgoren
> I really like Ricardo's solution ... attribute access is a nice touch, > bookmarking it now. > > FWIW, it would seem that psycopg2 also has a DictCursor (and > DictConnection). > > http://initd.org/psycopg/docs/extras.html > > > Ah, yes, there it is. Thank you. This list rocks! __

Re: [Tutor] Linux lib path

2010-04-10 Thread Chris Fuller
I'm using Debian. Used to be etch, but I did a double dist-upgrade recently. So, whatever the current testing release is. My shell is zsh, but bash should work the same. PYTHONPATH should have worked. CLASSPATH is for Java. Here's the documentation link you want: http://docs.python.org/i

Re: [Tutor] Linux lib path

2010-04-10 Thread Alan Gauld
"Joson" wrote I use debian os. and I'd tried to set the classpath in /etc/profile (export CLASSPATH="..."), and the pythonpath too (export PYTHONPATH="..."). I found it didn't work. So far as I know CLASSPATH is only used by Java. PYTHONPATH should work... Does it work in your local .pro