Re: assignment to reference

2005-10-27 Thread Sybren Stuvel
Bruno Desthuilliers enlightened us with: > for obj in (a, b, c): >if obj == 'cabbage': > obj = 'coconut' Doesn't work on my Python: Python 2.4.2 (#2, Sep 30 2005, 21:19:01) [GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2 Type "help", "copyright", "credits" or "licens

Re: creating/altering the OpenOffice spredsheet docs

2005-10-27 Thread Dale Strickland-Clark
Andy Leszczynski wrote: > Any idea how to do that the way ActiveX would be used on M$? > > A. http://udk.openoffice.org/python/python-bridge.html -- Dale Strickland-Clark Riverhall Systems - www.riverhall.co.uk -- http://mail.python.org/mailman/listinfo/python-list

loop help

2005-10-27 Thread Gorlon the Impossible
Hello. I am using Python 2.3.5 with IDLE 1.0.5 on a Windows98 PC. I have some programming experience but mostly I am still learning. I am having some trouble understanding the behaviour of a piece of code I have written. It plots points using PIL. Here is my loop: triangle = [(320,27),(172,323),(4

Re: DrPython - auto complete

2005-10-27 Thread Franz Steinhaeusler
On 26 Oct 2005 07:31:00 -0700, "jas" <[EMAIL PROTECTED]> wrote: >Hi, > I just started to use DrPython and I have installed the >CodeCompletion plugin. I am using DrPython 161 (on windows) with >wxPython 2.6.1. Anyhow, when I try something like > >x = [] >x. > >...it pops up "x.filename", "x.pre

Re: more than 100 capturing groups in a regex

2005-10-27 Thread Joerg Schuster
> It's a conflict between python's syntax for regex back > references and > octal number literals. Probably wasn't noticed until way > too late, and > now it will never change. So "reasonable choice" is not a really good description of the phenomenon. -- http://mail.python.org/mailman/listinfo/

Re: How to processing multi redirect?

2005-10-27 Thread Gonnasi
Tons of thanks for your help! Now I can fetching the page success. Thansk again. -- Gonnasi -- http://mail.python.org/mailman/listinfo/python-list

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Roedy Green wrote: > On Thu, 27 Oct 2005 02:28:46 +0200, "Peter T. Breuer" > <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who > said : >> I'm a bit curious about this. If I were a business person, I would >> simply have created two busineses (two accounts, etc.). One business >>

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Roedy Green wrote: > On Wed, 26 Oct 2005 19:50:07 -0700, "David Schwartz" > <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who > said : >>The Microsoft agreement is also up front. It's not "imposed" in >> any sense except that it's one of the conditions for buying Windows >> w

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Roedy Green wrote: > On Wed, 26 Oct 2005 19:50:07 -0700, "David Schwartz" > <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who > said : >>There is no different to Microsoft beween a bare computer and one >> preloaded with Linux or FreeBSD. One can quickly be converted to >> ot

Re: Microsoft Hatred FAQ

2005-10-27 Thread Roedy Green
On Thu, 27 Oct 2005 00:48:25 -0700, "David Schwartz" <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said : >> We are not talking about legal agreements. We are talking junior Mafia >> style enforcement. > >Can you cite any evidence of Microsoft actually using or threatening

Re: Microsoft Hatred FAQ

2005-10-27 Thread Roedy Green
On Thu, 27 Oct 2005 00:49:27 -0700, "David Schwartz" <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said : >I guess I don't understand what you're saying. Are you saying that >Microsoft demanded you pay them per machine you sold under the table in the >absence of a writte

Re: Microsoft Hatred FAQ

2005-10-27 Thread Roedy Green
On Thu, 27 Oct 2005 07:58:42 GMT, Roedy Green <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said : >>I guess I don't understand what you're saying. Are you saying that >>Microsoft demanded you pay them per machine you sold under the table in the >>absence of a written co

Re: xml.dom.minidom - parseString - How to avoid ExpatError?

2005-10-27 Thread John Abel
Have a look on: http://xml.com/pub/a/98/10/guide0.html?page=4#WELLFORMED Explains it better then I can. J Gregory Piñero wrote: > What do you mean by well-formed? What is required to make XML well > formed? > > -Greg > > > On 10/26/05, *John Abel* <[EMAIL PROTECTED]

Re: Web presentation layer/framework for python - recommendations?

2005-10-27 Thread Jeremy Jones
[EMAIL PROTECTED] wrote: >Hi, >I am a python newbie and need some advice. >I have been charged with redeveloping a web application with a front end >written in python that has a backend of XML files. >Currently it doesn't adequately separate out the presentation code from the >content code. >Fra

Re: Microsoft Hatred FAQ

2005-10-27 Thread Paul Rubin
"David Schwartz" <[EMAIL PROTECTED]> writes: > But there is no law against that type of conduct, *unless* you are a > monopolist. So your conclusion hinges on the determination that Microsoft > had a monopoly, and that hinges on the definition of the "market". That's a > different can of wor

Re: Would there be support for a more general cmp/__cmp__

2005-10-27 Thread Antoon Pardon
Op 2005-10-26, Ron Adam schreef <[EMAIL PROTECTED]>: > > > Antoon Pardon wrote: > >> Op 2005-10-25, Steven D'Aprano schreef <[EMAIL PROTECTED]>: > >>>Can somebody remind me, what is the problem Antoon is trying to solve here? >> >> >> Well there are two issues. One about correct behaviour and one

Re: Would there be support for a more general cmp/__cmp__

2005-10-27 Thread Antoon Pardon
Op 2005-10-26, Christopher Subich schreef <[EMAIL PROTECTED]>: > Antoon Pardon wrote: >> Op 2005-10-25, Christopher Subich schreef <[EMAIL PROTECTED]>: >>> >>>My biggest complaint here is about returning None or IncomparableValue; >>>if that happens, then all code that relies on cmp returning a nu

Re: loop help

2005-10-27 Thread Ben Sizer
What do you mean by 'it starts accumulating' in this context? Are you talking about the fact that numbers gain decimal places? Or the fact that using a number between 0 and 1 will make your values diverge to infinity? Either way, it's just mathematics for you, I'm afraid, and there's little Python

Sorting with only a partial order definition

2005-10-27 Thread Lasse Vågsæther Karlsen
I have a list of items and a "rule" for ordering them. Unfortunately, the rule is not complete so it won't define the correct order for any two items in that list. In other words, if I pick two random items from the list I may or may not have a rule that dictates the order of those two items. T

Re: Sorting with only a partial order definition

2005-10-27 Thread Bryan Olson
Lasse Vågsæther Karlsen wrote: > I have a list of items and a "rule" for ordering them. > > Unfortunately, the rule is not complete so it won't define the correct > order for any two items in that list. This is called a "partial ordering". [...] > If there isn't anything built in, does anyon

Re: Sorting with only a partial order definition

2005-10-27 Thread Paul Rubin
Lasse Vågsæther Karlsen <[EMAIL PROTECTED]> writes: > I have a list of items and a "rule" for ordering them. > > Unfortunately, the rule is not complete so it won't define the correct > order for any two items in that list. > > In other words, if I pick two random items from the list I may or may

Re: Microsoft Hatred FAQ

2005-10-27 Thread Roedy Green
On Thu, 27 Oct 2005 00:49:27 -0700, "David Schwartz" <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said : > >I guess I don't understand what you're saying. Are you saying that >Microsoft demanded you pay them per machine you sold under the table in the >absence of a writ

Re: Microsoft Hatred FAQ

2005-10-27 Thread Roedy Green
On Thu, 27 Oct 2005 09:13:39 GMT, Roedy Green <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said : >To put this in perspective, IBM's salespeople made much nastier >threats in their heyday. Dick Toewes, head of Inland Natural Gas, was >in charge of a tender for a new mainfram

SOAPpy module

2005-10-27 Thread Alvin A. Delagon
Hello fellow pythonista's! I would like to ask if there's any good people who had experience in using the SOAPpy module. I'm currently rewriting a SOAP client that is written in PERL which uses the SOAP::Lite module. I managed to fetch the XML response from the server but I'm getting XML parser

Re: a Haskell a Day

2005-10-27 Thread Niklas Norrthon
[EMAIL PROTECTED] writes: > Xah Lee wrote: > > I hope you will join me in learning Haskell. > > I think the folks here are more interested in Perl. There's a reason > why this newsgroup is called lc("comp.lang.PERL.misc"). Or python, or c, or java, or unix programming. There is a reason why this

Re: Sorting with only a partial order definition

2005-10-27 Thread Lasse Vågsæther Karlsen
Paul Rubin wrote: > Lasse Vågsæther Karlsen <[EMAIL PROTECTED]> writes: > >>I have a list of items and a "rule" for ordering them. >> >>Unfortunately, the rule is not complete so it won't define the correct >>order for any two items in that list. >> >>In other words, if I pick two random items fro

Re: Missing modules '_ssl', 'ext.IsDOMString', 'ext.SplitQName'

2005-10-27 Thread uid09012_ti
Hi,,thanks for the tip. I'*m still stuck, but that link got me past the problem with the unknow encoding. I now get this traceback: Traceback (most recent call last): File "App1.py", line 23, in ? File "App1.py", line 19, in main File "wx\_core.pyc", line 5691, in __init__ File "wx\_core.

Re: Sorting with only a partial order definition

2005-10-27 Thread Fredrik Lundh
Bryan Olson wrote: > The usual tools to deal with partial orderings are directed acyclic graphs, > and "topological sorting". Try Googling the terms along with "Python". here's a rather powerful timbot implementation: http://mail.python.org/pipermail/python-list/1999-July/006625.html

Re: assignment to reference

2005-10-27 Thread Loris Caren
Thank you all for your replies. They have helped me understand that immutable means just that! Blame my c heritage where a pointer allows you to scribble over anything. -- http://mail.python.org/mailman/listinfo/python-list

Re: Setting a Limit to the Maximum Size of an Upload

2005-10-27 Thread Joey C.
Yes, I see that now. I tried your method and it seemed to work fine until I tried printing the filesize out. def checkfilesize(thefile): # Check the Size of the File global filesize thefile.seek(0,2) filesize = thefile.tell() thefile.seek(0) print filesize print conf["upmax"]

Re: Missing modules '_ssl', 'ext.IsDOMString', 'ext.SplitQName'

2005-10-27 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > xml.sax._exceptions.SAXReaderNotAvailable: No parsers found http://starship.python.net/crew/theller/moin.cgi/Py2exeAndPyXML > I checked out what Ron suggested, but I've no files where the names > could clash with python modules. next time you get stuck, make sure to c

Re: 1 Million users.. I can't Scale!!

2005-10-27 Thread maxoutrage
How are you actually sending messages to the SMSC? If you are directly connected - IE using SMPP or UCP then I would imagine that there is a bottle neck at the SMSC. Large SMSC systems in the US typically deliver upto 1000 sm/s with larger systems delivering 2000+ sm/s - From the throughput you re

Re: Sorting with only a partial order definition

2005-10-27 Thread Lasse Vågsæther Karlsen
Lasse Vågsæther Karlsen wrote: > Paul Rubin wrote: > >> Lasse Vågsæther Karlsen <[EMAIL PROTECTED]> writes: >> >>> I have a list of items and a "rule" for ordering them. Ok, managed to implement the algorithm. Might not be the optimal solution (memory and speed-wise) but it worked and doesn't t

Re: Sorting with only a partial order definition

2005-10-27 Thread Paul Rubin
Lasse Vågsæther Karlsen <[EMAIL PROTECTED]> writes: > In that application we talked about presenting the user with two and > two images and he just had to click on the image that came first. The > problem with this was to try to present the "right" images to the user > so that he had to minimize th

Re: Hi All - Newby

2005-10-27 Thread Ask
Hi TIm, Ahh I see.. (Told you I was a newby!) ;-) Tkinter is what I'm using as that was loaded by default with the installation of Python I am using. Thanks Regards Pauly "Tim Roberts" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Ask" <[EMAIL PROTECTED]> wrote: >> >>I'm

Re: Sorting with only a partial order definition

2005-10-27 Thread Toby Dickenson
On Thursday 27 October 2005 11:08, Lasse Vågsæther Karlsen wrote: > What I was wondering about is if there is an algorithm that would do > what I want? Ie. help me pick the nodes so as to minimize the number of > edges. To rephrase your question, you want a sorting algorithm that minimises the

Re: Microsoft Hatred FAQ

2005-10-27 Thread Sibylle Koczian
David Schwartz schrieb: > When you are not in the majority, you are going to face inconveniences. > You'd face the same inconvenience if you wanted to buy a new car without > seats. Most people wants cars with seats, so that's the way they're > packaged. > What a stupid comparison! A compu

Re: Microsoft Hatred FAQ

2005-10-27 Thread Harold Stevens
In <[EMAIL PROTECTED]> Paul Rubin: [Snip...] > The trial court determined and two different appeals courts upheld > that MS had an illegal monopoly. And M$ is still intransigent about that LEGAL FACT, much to the dismay of the federal judge overseeing the latest (toothless) consent decree: I

Re: Microsoft Hatred FAQ

2005-10-27 Thread Roedy Green
On Sun, 16 Oct 2005 16:31:41 GMT, Roedy Green <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said : >I used to be a retailer of custom computers. MS used a dirty trick to >compete with IBM's OS/2. They said to me as a retailer. You must buy >a copy of our OS for EVERY machine

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Paul Rubin wrote: > "David Schwartz" <[EMAIL PROTECTED]> writes: >> But there is no law against that type of conduct, *unless* you >> are a monopolist. So your conclusion hinges on the determination >> that Microsoft had a monopoly, and that hinges on the definition of >> the "market". That's

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Roedy Green wrote: > On Thu, 27 Oct 2005 00:49:27 -0700, "David Schwartz" > <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who > said : >>I guess I don't understand what you're saying. Are you saying that >> Microsoft demanded you pay them per machine you sold under the table

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Roedy Green wrote: > The tactic Univac/Burroughs/Prime used, at least for big sales, was > for example invite the potential customer to view some installation to > talk to a satisfied client about how they were using their gear. There > might be a convenient client in say ... Las Vegas. Yep,

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Sibylle Koczian wrote: > David Schwartz schrieb: >> When you are not in the majority, you are going to face >> inconveniences. You'd face the same inconvenience if you wanted to >> buy a new car without seats. Most people wants cars with seats, so >> that's the way they're packaged. >> > Wha

Re: select.select() on windows

2005-10-27 Thread Maksim Kasimov
yes, i missed, sorry Dennis Lee Bieber wrote: > On Wed, 26 Oct 2005 11:29:17 +0300, Maksim Kasimov > <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > > >>you have to use non-block readining. >> >>http://docs.python.org/lib/module-select.html: >>A time-out value of zero specifi

Re: Microsoft Hatred FAQ

2005-10-27 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > However, both a finding of "yes, Microsoft had a monopoly" and a > finding of "no, Microsoft did not have a monopoly" would both have been > within the trial court's discretion. Well, of course, and they said YES (as a

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Roedy Green wrote: > On Sun, 16 Oct 2005 16:31:41 GMT, Roedy Green > <[EMAIL PROTECTED]> wrote, quoted or > indirectly quoted someone who said : >> I used to be a retailer of custom computers. MS used a dirty trick >> to compete with IBM's OS/2. They said to me as a retailer. You must >> buy a

Re: Microsoft Hatred FAQ

2005-10-27 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: >Microsoft was not going to let a business > parasitically use Windows to build a business that touted the advantages of > competing products. Well, it should have, because that's what manufacturers of op

Re: Microsoft Hatred FAQ

2005-10-27 Thread Lasse Vågsæther Karlsen
David Schwartz wrote: > Roedy Green wrote: > competing products. (Just as Burger King corporate will not you sell Big > Macs in the same store in which you sell Whoppers.) Rather odd comparison don't you think ? A better comparison would be if Burger King purchases the fries from a factory tha

Re: Microsoft Hatred FAQ

2005-10-27 Thread Paul Rubin
"David Schwartz" <[EMAIL PROTECTED]> writes: > The appeals courts upheld that the trial court did not abuse its > discretion. However, both a finding of "yes, Microsoft had a monopoly" and a > finding of "no, Microsoft did not have a monopoly" would both have been > within the trial court's

Re: Missing modules '_ssl', 'ext.IsDOMString', 'ext.SplitQName'

2005-10-27 Thread uid09012_ti
Hi, thanks for the tip. That did it! Though I have one funny: i've got Active State Python 2.4 installed and so the line has to read --packages _xmlplus.sax.drivers,_xmlplus.sax.drivers2 Thanks again, Martin. -- http://mail.python.org/mailman/listinfo/python-list

Re: Microsoft Hatred FAQ

2005-10-27 Thread Roedy Green
On Thu, 27 Oct 2005 04:07:50 -0700, "David Schwartz" <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said : >That is a bit questionable, I admit. It is questionable because the >intent is pretty obviously to get the individuals more interested in being >nice to you than lo

Re: Microsoft Hatred FAQ

2005-10-27 Thread Roedy Green
On Thu, 27 Oct 2005 04:06:16 -0700, "David Schwartz" <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said : >Right, they send gun-wielding thugs to use force against people. That's >a lot like refusing to do business with people who won't uphold their >contractual obligati

Re: Python vs Ruby

2005-10-27 Thread Steven D'Aprano
On Wed, 26 Oct 2005 22:35:33 -0500, Andy Leszczynski wrote: > Steven D'Aprano wrote: > >> >> Every line = more labour for the developer = more cost and time. >> Every line = more places for bugs to exist = more cost and time. >> > > The place I work at the creation rate is not a problem - we co

Re: Microsoft Hatred FAQ

2005-10-27 Thread Roedy Green
On Thu, 27 Oct 2005 04:06:16 -0700, "David Schwartz" <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said : >Well shit, how surprising that they wouldn't want to do business with >you if you broke your agreements with them. You could have a more productive debate with a ta

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Peter T. Breuer wrote: > In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: >>Microsoft was not going to let a business >> parasitically use Windows to build a business that touted the >> advantages of competing products. > Well, it should have, because t

Re: loop help

2005-10-27 Thread Steven D'Aprano
On Thu, 27 Oct 2005 07:00:34 +, Gorlon the Impossible wrote: > Hello. I am using Python 2.3.5 with IDLE 1.0.5 on a Windows98 PC. > I have some programming experience but mostly I am still learning. > I am having some trouble understanding the behaviour of a piece of > code I have written. It p

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Lasse Vågsæther Karlsen wrote: > David Schwartz wrote: >> Roedy Green wrote: > >> competing products. (Just as Burger King corporate will not you sell >> Big Macs in the same store in which you sell Whoppers.) > Rather odd comparison don't you think ? No, it's dead on. > A better comparis

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Paul Rubin wrote: > "David Schwartz" <[EMAIL PROTECTED]> writes: >> The appeals courts upheld that the trial court did not abuse its >> discretion. However, both a finding of "yes, Microsoft had a >> monopoly" and a finding of "no, Microsoft did not have a monopoly" >> would both have been wi

Re: Microsoft Hatred FAQ

2005-10-27 Thread Roedy Green
On Thu, 27 Oct 2005 04:06:16 -0700, "David Schwartz" <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said : >Well shit, how surprising that they wouldn't want to do business with >you if you broke your agreements with them. I am going to summarise this then drop out. My bl

Re: Microsoft Hatred FAQ

2005-10-27 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > Peter T. Breuer wrote: >> In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: >>>Microsoft was not going to let a business >>> parasitically use Windows to build a business that touted the >>

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Roedy Green wrote: > On Thu, 27 Oct 2005 04:06:16 -0700, "David Schwartz" > <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who > said : >>Right, they send gun-wielding thugs to use force against people. >> That's a lot like refusing to do business with people who won't >> uphol

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Roedy Green wrote: > On Thu, 27 Oct 2005 04:06:16 -0700, "David Schwartz" > <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who > said : >>Well shit, how surprising that they wouldn't want to do business >> with you if you broke your agreements with them. > I am going to summa

Re: Microsoft Hatred FAQ

2005-10-27 Thread Iain King
David Schwartz wrote: > Roedy Green wrote: > > > On Sun, 16 Oct 2005 16:31:41 GMT, Roedy Green > > <[EMAIL PROTECTED]> wrote, quoted or > > indirectly quoted someone who said : > > >> I used to be a retailer of custom computers. MS used a dirty trick > >> to compete with IBM's OS/2. They said to

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Peter T. Breuer wrote: > That's UP TO THE FRIGGING STORE (in contrast to the MS situation). No, it's not up to the store. In all the cases I mentioned, it's the manufacturer of the product that imposes the restrictions and the manufacturer of the product is not the store owner. >> I don't

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Iain King wrote: > Don't you see how your metaphor doesn't work? No. > It would only be > fitting if Microsoft OWNED the outlet. Huh? > Places which sell Whoppers > are Burger King franchises, so of course they aren't going to sell > Big Mac's. Right. The Burger King corporate fra

Re: Microsoft Hatred FAQ

2005-10-27 Thread Iain King
David Schwartz wrote: > Roedy Green wrote: > > > The particular way MS threatened to put me out of business was by > > threatening to arm twist all wholesalers to refuse to sell MS product > > to me, which any retailer needed to survive in those days. > > Right, I get that. You owed your entir

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Iain King wrote: > David Schwartz wrote: >> Roedy Green wrote: >> >>> The particular way MS threatened to put me out of business was by >>> threatening to arm twist all wholesalers to refuse to sell MS >>> product to me, which any retailer needed to survive in those days. >> >> Right, I get tha

Re: Microsoft Hatred FAQ

2005-10-27 Thread Roedy Green
On Thu, 27 Oct 2005 04:06:16 -0700, "David Schwartz" <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who said : >Right I understand that. You could have complied simply by only selling >computers with Windows preinstalled. In other words, you could have treated >this the same

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Roedy Green wrote: > 1. it was a threat to destroy a business -- e.g vandalise tens of > thousands of dollars of property. For all practical purpose they > threatened to steal my business. It would be roughly the same dollar > value as threatening to burn down a large house. No, it was a th

Re: Microsoft Hatred FAQ

2005-10-27 Thread Lasse Vågsæther Karlsen
David Schwartz wrote: > Iain King wrote: > > >>Don't you see how your metaphor doesn't work? > > > No. > > >>It would only be >>fitting if Microsoft OWNED the outlet. > > > Huh? > I would think that if I set up a shop and wanted to have the word "Microsoft" as part of the shop na

Re: forum

2005-10-27 Thread Svenn Are Bjerkem
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Forum commuication is easier, and I've just started a new forum and > would like to invite all of you to sign up and post there. I'm still I don't agree. USENET is easier because you can search and post on groups.google.com. You don't

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
David Schwartz wrote: > Paul Rubin wrote: >> If the trial court >> determines a fact and it's upheld on appeal, it's an established >> legal fact regardless of whether you or Microsoft likes it. I just found this article: http://capmag.com/article.asp?ID=88 I don't agree with all of it,

Re: Microsoft Hatred FAQ

2005-10-27 Thread Lasse Vågsæther Karlsen
Roedy Green wrote: > On Thu, 27 Oct 2005 04:06:16 -0700, "David Schwartz" > <[EMAIL PROTECTED]> wrote, quoted or indirectly quoted someone who > said : > > >> Right I understand that. You could have complied simply by only selling >>computers with Windows preinstalled. In other words, you coul

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Lasse Vågsæther Karlsen wrote: > I would think that if I set up a shop and wanted to have the word > "Microsoft" as part of the shop name, there would be some rules > dictating what products I could and could not sell, yes. Wether those > rules are set forth in a law somewhere or Microsoft set the

Re: Microsoft Hatred FAQ

2005-10-27 Thread Lasse Vågsæther Karlsen
David Schwartz wrote: > Lasse Vågsæther Karlsen wrote: > > >>I would think that if I set up a shop and wanted to have the word >>"Microsoft" as part of the shop name, there would be some rules >>dictating what products I could and could not sell, yes. Wether those >>rules are set forth in a law s

RE: [python-win32] simulate DoEvents by python/wxpython

2005-10-27 Thread James Hu
Thanks a lot! -Original Message- From: Mark Hammond [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 7:16 PM To: James Hu; Python-win32@python.org; python-list@python.org Subject: RE: [python-win32] simulate DoEvents by python/wxpython Build 205 of win32gui does have PeekMessa

Re: Microsoft Hatred FAQ

2005-10-27 Thread David Schwartz
Lasse Vågsæther Karlsen wrote: > David Schwartz wrote: >> Burger King won't let you sell Whoppers or buy their burger >> patties wholesale no matter what you want to call your store unless >> you take the whole franchise deal. It's an all-or-nothing package. >> With very few limits, companies

ANN: SPE 0.7.5.d released!

2005-10-27 Thread SPE - Stani's Python Editor
I'm currently packaging the new SPE. The release is a matter of minutes. Next releases (0.8.*) will focus on the Mac in honour of the fund raising for the purchase of a Mac. Read more on the homepage. New features: * UML export to bitmap (bmp, gif, jpg, pcx, png, pnm, tif, xbm, xpm), to vecto

PyCon: suggestions for tutorial speakers wanted

2005-10-27 Thread A.M. Kuchling
A planned new addition to PyCon 2006 is a day of tutorials before the conference; tutorials will cost extra and give attendees a chance to take a 3-hour introduction to Python (or some other topic) before they leap into conference-going. A Call for Tutorials will be posted soon. It'll go to comp.l

Question: New editions of Python books?

2005-10-27 Thread Robert Boyd
Hi, Are any new editions in the works for either "Python Essential Reference" or "Python in a Nutshell"? I'm holding off buying one or the other existing editions, although my library overdue fines for them would have paid for them by now! Thanks, Rob -- http://mail.python.org/mailman/listinfo/p

Re: Python vs Ruby

2005-10-27 Thread Lawrence Oluyede
Il 2005-10-27, Andy Leszczynski ha scritto: > How Ruby solves the problem of global interpreter lock? AFAIK Ruby does not have those kind of problems, it does not have "real" threads but it emulates them via software -- Lawrence http://www.oluyede.org/blog -- http://mail.python.org/mailman/li

Re: SOAPpy module

2005-10-27 Thread Lawrence Oluyede
Il 2005-10-27, Alvin A. Delagon <[EMAIL PROTECTED]> ha scritto: > Has anyone experienced this? I'm googling like crazy these past few > weeks just to find a solution to this predicament. Thank you in advance! >:-) Don't know very much about it, but... did you ask on the mailing list? -- Lawre

Re: strange problems with urllib2

2005-10-27 Thread Cousin Stanley
> When I run this code on windows it runs quickly > (about a second per image) but when I run it on linux > it runs very very slowly (10+ seconds per image). > jdonnell I'm running a 1999 vintage 250 MHz Compaq with Debian Gnu/Linux & Python 2.3.5 The following version

time conversion

2005-10-27 Thread flupke
Is there an easy to convert following hour notation hh:mm to decimals? For instance 2 hours and 30 minutes as 2:30 to 2,50 I don't really know where to search for this kind of conversion. Thanks, Benedict -- http://mail.python.org/mailman/listinfo/python-list

Help: Quick way to test if value lies within a list of lists of ranges?

2005-10-27 Thread Ben O'Steen
Scenario: = Using PyGame in particular, I am trying to write an application that will run a scripted timeline of events, eg at 5.5 seconds, play xxx.mp3 and put the image of a ball on screen, at 7.8 seconds move the ball up and down. At this point, I hear you say 'Oh, like Flash'. Yes, we

Re: xml.dom.minidom - parseString - How to avoid ExpatError?

2005-10-27 Thread Gregory Piñero
Thanks, John.  That was all very helpful.  It looks like one option for me would be to put cdata[ around my text with all the weird characters.  Otherwise running it through on of the SAX utilities before parsing might work. I wonder if the sax utilities would give me a performance hit.  I have 60

Re: syntax question - if 1:print 'a';else:print 'b'

2005-10-27 Thread Gregory Piñero
So much for writing my whole program on one line :-( j/k -GregOn 10/26/05, Fredrik Lundh <[EMAIL PROTECTED]> wrote: Gregory Piñero wrote:> Any idea why I can't say:>> if 1:print 'a';else:print 'b'>> all in one line like that?because ";" can only be used to separate simple statements, not the diff

sys.exit call from pythonw.exe gives error

2005-10-27 Thread Jo Schambach
I wrote a python GUI with tkInter and installed it on a windows machine with the .pyw extension, so it will be executed from pythonw.exe instead of python.exe, since I didn't want the console window to appear. My application exits with a call to sys.exit. However, when this call is executed under p

Re: syntax question - if 1:print 'a';else:print 'b'

2005-10-27 Thread W.H.Offenbach
Gregory Piñero wrote: > So much for writing my whole program on one line :-( Why bother with one liners? "The number of meaningful lines and pages a writer produces is a measure for his writer-ship" -- my old Literature professor -- http://mail.python.org/mailman/listinfo/python-list

Re: handling ExpatError exception raised from ElementTree.XML() method

2005-10-27 Thread Paul Boddie
[EMAIL PROTECTED] wrote: > > NameError: name 'ExpatError' is not defined > > I'm guessing that I need to define/describe the ExpatError exception > class and then refer to that defined exception class after the keyword > 'except' and before the ':', but I cannot figure out how to do that. You just

Re: time conversion

2005-10-27 Thread flupke
flupke wrote: > Is there an easy to convert following hour notation hh:mm > to decimals? > For instance 2 hours and 30 minutes as 2:30 to 2,50 > I don't really know where to search for this kind of conversion. > > Thanks, > Benedict I found a way. Not sure if it's the best: time = "2:3" factor =

Re: syntax question - if 1:print 'a';else:print 'b'

2005-10-27 Thread Simon Brunning
On 27/10/05, Gregory Piñero <[EMAIL PROTECTED]> wrote: > So much for writing my whole program on one line :-( http://www.unixuser.org/~euske/pyone/ But you didn't hear it from me, OK? ;-) -- Cheers, Simon B, [EMAIL PROTECTED], http://www.brunningonline.net/simon/blog/ -- http://mail.python.org/

Re: Help: Quick way to test if value lies within a list of lists of ranges?

2005-10-27 Thread Jean-Paul Calderone
On Thu, 27 Oct 2005 15:48:53 +0100 (BST), Ben O'Steen <[EMAIL PROTECTED]> wrote: >Scenario: >= > >Using PyGame in particular, I am trying to write an application that will >run a scripted timeline of events, eg at 5.5 seconds, play xxx.mp3 and put >the image of a ball on screen, at 7.8 seco

Re: time conversion

2005-10-27 Thread Fredrik Lundh
"flupke" wrote: > Is there an easy to convert following hour notation hh:mm > to decimals? > For instance 2 hours and 30 minutes as 2:30 to 2,50 > I don't really know where to search for this kind of conversion. you mean like >>> timestamp = "2:30" >>> hour, minute = timestamp.split(":")

OpenSSL in Python

2005-10-27 Thread dcrespo
Hi to all, What do I have to install to get the following code work (Win XP, Python 2.4.2) from OpenSSL import SSL import config KEY_FILE = config.SSL_KEY_FILE CERT_FILE = config.SSL_CERT_FILE -- I've been looking for OpenSSL for python. I found pyOpenSSL, but

Re: time conversion

2005-10-27 Thread flupke
Fredrik Lundh wrote: > "flupke" wrote: > > >>Is there an easy to convert following hour notation hh:mm >>to decimals? >>For instance 2 hours and 30 minutes as 2:30 to 2,50 >>I don't really know where to search for this kind of conversion. > > > you mean like > > >>> timestamp = "2:30" >

socket.error: (32, 'Broken pipe'): need help

2005-10-27 Thread Junhua Deng (AL/EAB)
Hi, I have a simple server-client application with threading. It works fine when both server and client on the same machine, but I get the following error message if the server is on another machine: ... ... self.socket.send(outgoingMsg) socket.error: (32, 'Broken pipe') I do not know where

Re: socket.error: (32, 'Broken pipe'): need help

2005-10-27 Thread dcrespo
When enabling the server, note that you put '' as the IP, and not 'localhost'. if you put an ip: '172.16.1.2', your server will listen on that IP (if it's valid) if you put '', your server will listen on all IPs defined on that computer. of you put 'localhost', it will listen for local connections

Re: socket.error: (32, 'Broken pipe'): need help

2005-10-27 Thread Jeremy Jones
Junhua Deng (AL/EAB) wrote: >Hi, >I have a simple server-client application with threading. It works fine when >both server and client on the same machine, but I get the following error >message if the server is on another machine: > >... ... >self.socket.send(outgoingMsg) >socket.error: (32

Re: strange problems with urllib2

2005-10-27 Thread jdonnell
I haven't checked them, but will do it now. However, I don't have problems with anything but python. I can download that image in less than a second with wget or in my browser. I know that I had ipv6 problems before. I had to turn it off because of my nat router so I'll look into that sort of thing

  1   2   >