Python and sqlite3

2008-08-06 Thread Robert Latest
Hello people, I'm having problems using sqlite with Python in my cygwin installation. The line "import sqlite3" throws the error: $ python Python 2.5.1 (r251:54863, May 18 2007, 16:56:43) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin Type "help", "copyright", "credits" or "li

Re: un-indenting doesn't work with vim

2008-07-16 Thread Robert Latest
Thanks folks, I didn't know about Ctrl-D. Of course that's all I'm gonna use now, because it is so Vim. One thing that I don't understand is that indents eight spaces whereas Ctrl-D un-indents only four. I'll check on that. Actually I've got ":set sw=4" in my vimrc, maybe that has to do with it.

un-indenting doesn't work with vim

2008-07-11 Thread Robert Latest
Hello list, When writing stuff in "vim", I can't unindent without first havin to leave the Insert mode. In other words, I type a line, hit "enter", then "tab", and do the next line. When I hit enter again, the cursor goes onto the first position of the indented line, which is what I want. But if a

Connecting to Access with Python from within Cygwin

2008-06-17 Thread Robert Latest
Hello, I've written a small script in a Windows Python envoronment. This script accesses an MS Access database using the win32 odbc module. These are involked using this line: import odbc, dbi However, I greatly prefer the Linux/X look and feel for development, so I'd like to use this script fro

Cygwin is saving my ass

2008-03-25 Thread Robert Latest
Hello friends, Years ago, I heard of cygwin and installed it on a Windows PC that I occasionally had to use -- just to have access to bash and find, actually. Well, I liked it OK but viewed it as a more or less superfluous toy. I mean, why use cygwin when you can have a native, full-blown Linux sy