lists <-> tuple

2005-11-02 Thread Peter Notebaert
I am new to Python and have to create an import library in C that uses matrices. These matrices can be one-dimensional (vectors) or two-dimensional. If I look in the ActivePython 2.4 documentation at data structures, then I see at least 2 posibilities to represent them: Lists and Tuples. The d

Re: how to compile c-extensions under WinXP?

2005-11-05 Thread Peter Notebaert
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What should I do to be able to compile C-extensions (with python 2.4, > winXP)? I get an error message, approximately "The .NET Framework SDK > needs to be installed"; I tried to get something from the Microsoft web > site, but maybe n

Re: lists <-> tuple

2005-11-05 Thread Peter Notebaert
"Jim" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> Tuples or lists for matrix-like functionality? > > Use lists. Tuples are meant for small immutable sets of things that go > together. Lists are more like arrays, and you can assign to one > existing element if you want. > > On

Re: lists <-> tuple

2005-11-05 Thread Peter Notebaert
"Robert Kern" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Peter Notebaert wrote: >> I am new to Python and have to create an import library in C that uses >> matrices. >> >> These matrices can be one-dimensional (vectors) or two-dimens

Python driver for lpsolve

2005-11-16 Thread Peter Notebaert
lp_solve is a Mixed Integer Linear Programming (MILP) solver (see http://lpsolve.sourceforge.net/5.5/). There is now a Python driver to lpsolve. See http://lpsolve.sourceforge.net/5.5/Python.htm for more information about this driver. Peter -- http://mail.python.org/mailman/listinfo/pytho