Re: Cannot install pysqlite on Cygwin

2008-09-29 Thread Tilman Kispersky
On Sep 29, 12:37 pm, Tilman Kispersky <[EMAIL PROTECTED]> wrote: > On Sep 29, 7:49 am, Steve Holden <[EMAIL PROTECTED]> wrote: > > > > > Tilman Kispersky wrote: > > > I am trying to install sqlite for use with python oncygwin. I have > > >

Re: Cannot install pysqlite on Cygwin

2008-09-29 Thread Tilman Kispersky
On Sep 29, 7:49 am, Steve Holden <[EMAIL PROTECTED]> wrote: > Tilman Kispersky wrote: > > I am trying to install sqlite for use with python oncygwin. I have > > installed the sqlite packages fromcygwin(that is libsqlite3-devel > > and libsqlite3_0).  When attempting to

Cannot install pysqlite on Cygwin

2008-09-28 Thread Tilman Kispersky
I am trying to install sqlite for use with python on cygwin. I have installed the sqlite packages from cygwin (that is libsqlite3-devel and libsqlite3_0). When attempting to easy_install pysqlite I get: $ easy_install pysqlite Searching for pysqlite Reading http://pypi.python.org/simple/pysqlite/

Macro like functionality for shorthand variable names

2008-06-06 Thread Tilman Kispersky
I have python code in a class method translated from C++ that looks sort of like this: >>> self.dydt[1] = self.a * (self.b * self.y[0] - self.y[1]) To make this more readable in C++ I had made macros to achieve this: #define du (dydt[1]) #define u (y[1]) #define V (y[0]) du = a * (b * V - u);