In reply to my own question, postgres column names must begin with a letter or
an underscore. So this is what I have done:
>>> for row in cursor_from:
... if row[8]:
... stn_list_short.append("_" + row[0])
I can now use stn_list_short to create my columns
--
http://mail.python.org/m
Hi
I have some convenient short place name IDs which would be handy for column
names. Unfortunately, many begin with a number.
I can work around this by appending a letter to each one, but should I escape
the number in such a way that I can use it directly as my column name, in the
same way a