D
David Stockwell
Hi Everyone,
I'm wondering about the best way to enumerate something.
I have a list of columnames for a db and I decided to put them in a giant
tuple list for two reasons:
1) its unchangeable
2) I was hoping that creating an enumeration of those names would be easy
In the os.stat there is aparrently a list of things you can refer to eg:
ST_SIZE, ST_ATIME, etc.
How are these defined? They appear to be related to 0,1,2,3,.... some
sort of enumeration.
I would like to create an enumeration with 'friendly names' that map to the
particular offset in my column name tuple.
Thanks,
David
-------
Cell: http://cellphone.duneram.com/index.html
Cam: http://www.duneram.com/cam/index.html
Tax: http://www.duneram.com/index.html
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
I'm wondering about the best way to enumerate something.
I have a list of columnames for a db and I decided to put them in a giant
tuple list for two reasons:
1) its unchangeable
2) I was hoping that creating an enumeration of those names would be easy
In the os.stat there is aparrently a list of things you can refer to eg:
ST_SIZE, ST_ATIME, etc.
How are these defined? They appear to be related to 0,1,2,3,.... some
sort of enumeration.
I would like to create an enumeration with 'friendly names' that map to the
particular offset in my column name tuple.
Thanks,
David
-------
Cell: http://cellphone.duneram.com/index.html
Cam: http://www.duneram.com/cam/index.html
Tax: http://www.duneram.com/index.html
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/