install tarball package Python on Debian, necessary modules not found

2009-08-10 Thread Frédéric Léger
I use Debian Lenny and I tried to install the tarball packaging of the lastest python realease (http://www.python.org/download/, release 3.1). After read README file I launch standard Makefile commands. But at the end of "make" command, I have got this message: "... Python build finished, but t

Re: Python 2.6's multiprocessing lock not working on second use?

2009-01-19 Thread Frédéric Sagnes
On Jan 19, 11:53 am, Frédéric Sagnes wrote: > On Jan 17, 11:32 am, "Gabriel Genellina" > wrote: > > > > > En Fri, 16 Jan 2009 14:41:21 -0200, escribiste en el grupo > > gmane.comp.python.general > > > > I ran a few tests on the new Python

Re: Python 2.6's multiprocessing lock not working on second use?

2009-01-19 Thread Frédéric Sagnes
On Jan 17, 11:32 am, "Gabriel Genellina" wrote: > En Fri, 16 Jan 2009 14:41:21 -0200, escribiste en el grupo > gmane.comp.python.general > > > I ran a few tests on the new Python 2.6multiprocessingmodule before > > migrating a threading code, and found out the locking code is not > > working well.

Python 2.6's multiprocessing lock not working on second use?

2009-01-16 Thread Frédéric Sagnes
Hi, I ran a few tests on the new Python 2.6 multiprocessing module before migrating a threading code, and found out the locking code is not working well. In this case, a pool of 5 processes is running, each trying to get the lock and releasing it after waiting 0.2 seconds (action is repeated twice

problem boost::python::import

2008-05-22 Thread Frédéric Degraeve
Hello, I tried this code with vs7-8 and boost1.34.1-1.35.0 and my python is a 2.4. The call to Cpython works well but boost::python doesn't work. I've got an exception about an access violation reading location 0x. help, please? thank you. Frédéric #include "std

Re: Using Python for programming algorithms

2008-05-21 Thread Frédéric Degraeve
I reply to myself! > > Boost.Python is also very known (but never tested by myself). > http://www.boost.org/doc/libs/1_35_0/libs/python/doc/tutorial/doc/html/index.html here the example. I know that it has been made to simplify the CPython's use and this is based on CPython. Fr

Re: Using Python for programming algorithms

2008-05-21 Thread Frédéric Degraeve
ww.swig.org/tutorial.html Boost.Python is also very known (but never tested by myself). Frédéric -- http://mail.python.org/mailman/listinfo/python-list

matplotlib / legend of x-axis

2008-03-26 Thread Frédéric Degraeve
ation', 45, fontsize=10) Can you help me to remove this 'date'? thank you! Frédéric -- http://mail.python.org/mailman/listinfo/python-list

Re: Python memory handling

2007-06-04 Thread Frédéric PICA
Greets, Sorry for my late answer, google groups lost my post... First, thanks you for your explanations about memory handling in the os and python. I've tried with python 2.5 under linux : For the parsing of a 66 Mb xml file with cElementTree : When starting python : 2.1 Mb private memory used imp

Re: database in python ?

2005-04-12 Thread Pierre-Frédéric Caillaud
It's not a bug if you didn't RTFM. I did read it in much detail ! In fact I spent a lot of time trying to make understand how it could do a simple 4-table join to display also purchased products on an online store. The damn query took 0.5 seconds to execute no matter how I twisted it in

Re: database in python ?

2005-04-12 Thread Pierre-Frédéric Caillaud
Bottomline - mysql has a lot of marketshare, is improving, and I'm sure that it'll eventually be a credible product. But right now it's has a wide range of inexcusable problems. I so totally agree with you. I find that mysql promotes bad coding practices by ignoring errors and substituting in

Re: ATTN : Georges ( gry@ll.mit.edu)

2005-04-12 Thread Pierre-Frédéric Caillaud
My code so far: # -*- coding: iso-8859-1 -*- import sys import os from progadn import * ab1seq = raw_input("Entrez le répertoire où sont les fichiers à analyser: ") or None Ce serait mieux d'utiliser sys.argv pour spécifier le répertoire dans la ligne de commande du programme : import sys hel

Re: HELP ! Anybody knows where the stackless python website is ?

2005-04-12 Thread Pierre-Frédéric Caillaud
Great ! Thanks ! On Tue, 12 Apr 2005 16:15:42 +0200, cfbolz <[EMAIL PROTECTED]> wrote: Hi! Pierre-Frédéric Caillaud wrote: I've been trying desperately to access http://www.stackless.com but it's been down, for about a week now ! The stackless webpage is working agai

Re: Programming Language for Systems Administrator

2005-04-12 Thread Pierre-Frédéric Caillaud
Thank You for your suggestionsI request you all to eloborate the Uses(In Practical) for systems administrator.Some of my questions regarding the same follows. What do you want to do ? 1)Can i build web applications in Python ? If so how. I am planning to build a web application for intrane

Re: semicolons

2005-04-12 Thread Pierre-Frédéric Caillaud
sometimes i'll write if( key in myarray ) { ... in PHP and then realize I have to use array_key_exists and curse that the parameters are key then array, and bless scite auto-api-display for saving me each time... -- http://mail.python.org/mailman/listinfo/python-list

Re: Programming Language for Systems Administrator

2005-04-12 Thread Pierre-Frédéric Caillaud
I am confused to chose between C++,Python,Perl. Writing scripts in C++, you'll just die of brain burn. Python has very good shell integration and I heard it can do funky stuff with COM/OLE with a few lines of code where you'd need a few pages worth of impossible to understand COM code to d

Re: The convenient database engine for a "Distributed" System

2005-04-11 Thread Pierre-Frédéric Caillaud
I've not used it personnally, but I heard good things about it : "Firebird is a relational database offering many ANSI SQL-99 features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support fo

Re: web authoring tools

2005-04-11 Thread Pierre-Frédéric Caillaud
Ideally, I would like an open source website + html design tool implemented in Python didn't you just say that ideally, you wanted a tool written in lisp or scheme? I honestly got a little tired of the tone of the answers I was getting from that crowd, about what an idiot I am. My query there is

Re: database in python ?

2005-04-11 Thread Pierre-Frédéric Caillaud
If you want Simple you can use the following piece of code. It won't work if you have a million records, but it's a nice intelligent flatfile storage with a select where + order by and limit emulator. # # class ListMgr( object ): de

Re: database in python ?

2005-04-11 Thread Pierre-Frédéric Caillaud
MySQL is an excellent option is very well documented. It is also a defacto standard for OpenSource databases. MySQL sucks for anything but very very basic stuff as it supports no transactions, foreign keys, procedures, triggers, concurrency, etc. Postgresql is a lot better, free, and the psyc

HELP ! Anybody knows where the stackless python website is ?

2005-04-11 Thread Pierre-Frédéric Caillaud
Hello ! I've been trying desperately to access http://www.stackless.com but it's been down, for about a week now ! I desperatly need to download stackless python... Of course the stackless mailing list is on their server, so it's down, too. Does anybody has any info ? Does anybody