Re: Ordering Products

2005-07-18 Thread Bernhard Holzmayer
I see, you're sensitive for the difficulties which might arise. That's the thing I wanted to point out. Maybe I was looking too far forward... My first thought was to add attributes/qualifiers to the operands to improve the sorting. Then I realized that these attributes/qualifiers were related to

Re: Ordering Products

2005-07-18 Thread Bernhard Holzmayer
Kay Schluehr wrote: > > Now lets drop the assumption that a and b commute. More general: let be > M a set of expressions and X a subset of M where each element of X > commutes with each element of M: how can a product with factors in M be > evaluated/simplified under the condition of additional i

Re: Splitting on a word

2005-07-14 Thread Bernhard Holzmayer
[EMAIL PROTECTED] wrote: > Bernard... don't get angry, but I prefer the solution of Joe. Oh. If I got angry in such a case, I would have stopped responding to such posts long ago You know the background... and you'll have to bear the consequences. ;-) > ... > for me "pythonic" means simple

Re: Splitting on a word

2005-07-14 Thread Bernhard Holzmayer
[EMAIL PROTECTED] wrote: > Hi all, > I am writing a script to visualize (and print) > the web references hidden in the html files as: > ' underlined reference' > Optimizing my code, I found that an essential step is: > splitting on a word (in this case 'href'). > > I am asking if there is some al

Re: more newbie list questions

2005-07-14 Thread Bernhard Holzmayer
googleboy wrote: > Hi there. Hi googleboy! > > I am doing a bunch of processing over a list of lists, and am > interested in doing several things taht don't seem to be working for me > just at the moment. > > I have a list of books with several fields (Title, Author1, Author2, > Publisher, ISBN

Re: query progress bar

2005-05-17 Thread Bernhard Holzmayer
Timothy Smith wrote: > i'm using pypgsql Assuming you work with PostgreSQL, then: You know the EXPLAIN command? EXPLAIN will give you a very accurate estimation for the expense for the query. (You'll have to find out what cost means in terms of your progress.) I did never try this using pypgsq

Re: Windows distribution suggestions?

2005-05-17 Thread Bernhard Holzmayer
Paul Rubin wrote: >> Since your installer needs to run before Python is installed, you need >> something else. Go to http://www.wisesolutions.com >> You'll find a Windows installer program, with a demo-version (30days >> license). Try this, it would be my best recommendation. > > Hmm, ok, it look

Re: Windows distribution suggestions?

2005-05-17 Thread Bernhard Holzmayer
Paul Rubin wrote: > As what must be penance for something or other, I'm needing to release > a Python app for use under Windows XP. Please be gentle with me since > I'm a Un*x weenie and the only thing I've had much practice with under > Windows is rebooting it. I can feel your unhappiness, and