Re: dbf.py API question

2012-08-08 Thread Ole Martin Bjørndalen
On Wed, Aug 8, 2012 at 5:18 PM, Ethan Furman wrote: > Ed Leafe wrote: >> When converting from paradigms in other languages, I've often been >> tempted to follow the accepted pattern for that language, and I've almost >> always regretted it. > +1 >> When in doubt, make it as Pythoni

Re: dbf.py API question

2012-08-04 Thread Ole Martin Bjørndalen
On Thu, Aug 2, 2012 at 5:55 PM, Ethan Furman wrote: > SQLite has a neat feature where if you give it a the file-name of ':memory:' > the resulting table is in memory and not on disk. I thought it was a cool > feature, but expanded it slightly: any name surrounded by colons results in > an in-memo

inpipe and outpipe (and other useful functions)

2011-08-28 Thread Ole Martin Bjørndalen
Hi! Please excuse me if this i common knowledge, or if I've one again re-implemented something that turned out to be in the standard library, but I think I came up with something rather neat. I'm writing a lot of programs that call external programs, and as much as I love subproces.Popen, I do ge