Weblog Entries for January 2003

Train Good for Coding

Another observation, mainly for testing purposes: train rides are a good time for coding -- especially if one has good tunes.

Posted Friday, January 31, 2003 at 07:55 PM

Q: How Much Does jEdit Rock?

A: Very Much

Posted Friday, January 31, 2003 at 07:14 PM

Tip for Writing Macros for jEdit with Jython

Don't use the following idiom:

data = open('foo.txt').read()
...

Instead, do:

f = open('foo.txt')
data = f.read()
f.close()

This is important if you're working with files that jEdit has open, as Jython may still have the file open when you attempt to save it with jEdit. If this happens, you may be unable to save your file in jEdit. I learned this the hard way.

Posted Saturday, February 08, 2003 at 12:24 PM

Python DB-API module for ADO

I haven't used it yet, but I'm looking forward to playing with it. It can be found here: http://adodbapi.sourceforge.net/

Posted Friday, January 31, 2003 at 03:28 PM

DataSource Connection String Reference

http://www.connectionstrings.com/ is a great reference on DB connection strings.

Posted Friday, February 07, 2003 at 03:19 PM

View 2003, latest entries, or archive <../../archive.html>