Re: [Pytables-users] Best solution for "conditions" container...

2007-11-05 Thread Ivan Vilata i Balaguer
Vince Fulco (el 2007-11-05 a les 13:33:09 -0500) va dir:: > A bit off track from the core app but I wondered if anyone might have > a suggestion for the best way to store (and access) a set of > conditions to be used against an automated table query process. >[...] > Condition #1, temperature > 10

Re: [Pytables-users] Best solution for "conditions" container...

2007-11-05 Thread David Worrall
Not sure I quite understand your problem, but what about a python dictionary of condition strings which are then pulled out and used with eval() I do this all the time - saves big-'switch' /multiple 'for' statements. David On 06/11/2007, at 5:33 AM, Vince Fulco wrote: > A bit off track from

[Pytables-users] Best solution for "conditions" container...

2007-11-05 Thread Vince Fulco
A bit off track from the core app but I wondered if anyone might have a suggestion for the best way to store (and access) a set of conditions to be used against an automated table query process. Not sure if the easiest and most efficient way is to store in a text file and then use line splits to b