[Tutor] better looping construct for replacing elements in file?
alan.gauld at btinternet.com
Fri Feb 3 02:12:35 CET 2012
On 02/02/12 21:44, Joel Goldstick wrote:
> On Thu, Feb 2, 2012 at 4:29 PM, Brett Longworth<blongworth at whoi.edu> wrote:
>> Hi Joel,
>> Thanks for the reply. The little voice in my head was yelling, "Easier with
>> SQL!" the entire time, but I'm trying to learn Python.
> Even so, you would be learning how to do some simple sql things in
> python. It comes with sqlite3 so you don't even need to have mysql on
> the machine
And you can run SQLite as an in-memory database so its even fast for
temporary tables like this! (assuming you have enough RAM!)
Author of the Learn to Program web site
More information about the Tutor