Re: Jargons of Info Tech industry

2005-10-15 Thread John Bokma
[EMAIL PROTECTED] (Bengt Richter) wrote: > On Tue, 04 Oct 2005 17:14:45 GMT, Roedy Green > <[EMAIL PROTECTED]> wrote: > >>On Tue, 23 Aug 2005 08:32:09 -0500, l v <[EMAIL PROTECTED]> wrote or quoted : >> >>>I think e-mail should be text only. > I think that is a useful base standard, which allows

Re: Microsoft Hatred FAQ

2005-10-15 Thread joe
John Bokma <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] wrote: > > > John Bokma <[EMAIL PROTECTED]> writes: > > > >> "David Schwartz" <[EMAIL PROTECTED]> wrote: > >> > > >> > "Tim Roberts" <[EMAIL PROTECTED]> wrote in message > >> > news:[EMAIL PROTECTED] > >> > > >> >> Part of their behav

Re: Microsoft Hatred FAQ

2005-10-15 Thread John Bokma
[EMAIL PROTECTED] wrote: > John Bokma <[EMAIL PROTECTED]> writes: > >> [EMAIL PROTECTED] wrote: >> >> > John Bokma <[EMAIL PROTECTED]> writes: >> > >> >> "David Schwartz" <[EMAIL PROTECTED]> wrote: >> >> > >> >> > "Tim Roberts" <[EMAIL PROTECTED]> wrote in message >> >> > news:[EMAIL PROTECTE

Length of read in in python-gpib

2005-10-15 Thread Madhusudan Singh
python-gpib provides Gpib.py (see end of post) for Linux. I am trying to use the method called read. I usually use it without arguments (the default length being 512). However, I am trying to read in a string with some 16,000 comma separated floating point numbers. So, I have to pass a length par

Re: Return Text from popen

2005-10-15 Thread Micah Elliott
On Oct 15, Casey Bralla wrote: > How do I return text from a standard Linux command? > > For example: I want to read the stdout results of a typical linux > command (such as "df") into a Python variable. >>> from os import popen >>> p = popen("df") >>> p >>> df_out = p.read() >>> p.close() >>>

Re: dis.dis question

2005-10-15 Thread Bengt Richter
On Sun, 09 Oct 2005 12:10:46 GMT, Ron Adam <[EMAIL PROTECTED]> wrote: >Ron Adam wrote: >> >> Can anyone show me an example of of using dis() with a traceback? >> >> Examples of using disassemble_string() and distb() separately if >> possible would be nice also. > > [cliped] > >> But I still ne

Re: Length of read in in python-gpib

2005-10-15 Thread Madhusudan Singh
Further, if I use 131072 (2^17) as the length, I get an error : Traceback (most recent call last): File "takedata.py", line 74, in ? x=sr.querytrca(srs,1,0,4000,131072) File "/home/labmonkey/code/oledpmt/sr830.py", line 62, in querytrca trca=sr.read(n) File "/usr/lib/python2.3/site-p

Re: Microsoft Hatred FAQ

2005-10-15 Thread John W. Kennedy
Rhino wrote: > Everyone > else was still using typewriters - which was IBM's bread and butter in those > days - for their business needs. Oh dear, no. Not quite. There were, going back decades, machines that used punched cards, relays, stepper wheels, and punched cards. It was /that/ that was th

Re: Microsoft Hatred FAQ

2005-10-15 Thread Steve Sobol
Xah Lee wrote: > Answer: so did the German population thought Jews are morons by > heritage, to the point that Jews should be exterminated from earth. > Apparently, the entire German population cannot be morons, they must be > right. Y'know, I'm Jewish, I have friends who are Holocaust survivors,

Re: Microsoft Hatred FAQ

2005-10-15 Thread Steve Sobol
Jeroen Wenting wrote: > no, they got their by clever marketing and generally having a product that > was easier to use for the average user than anything the competition made > and a lot more powerful than other products created for their main target > market. People forget that Bill Gates may

Re: dis.dis question

2005-10-15 Thread skip
>> I'm still looking for info on how to use disassemble_string(). How about this? >>> import dis >>> def f(): ... print "hello world" ... >>> f.func_code.co_code 'd\x01\x00GHd\x00\x00S' >>> dis.disassemble_string(f.func_code.co_code) 0 LOAD_CONST

Newbie help

2005-10-15 Thread John Irby
Francis Girard:   Here is the code you are looking for if I read you right:   # Michael Dawson - 1/8/03     import random   print "\tWelcome to 'Guess My Number'!"print "\nI'm thinking of a number between

Re: Microsoft Hatred FAQ

2005-10-15 Thread Steven D'Aprano
On Sat, 15 Oct 2005 15:48:18 -0700, David Schwartz wrote: > "Mike Meyer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >> What you call "clever marketing" the DOJ calls "monopolistic >> practices". The courts agreed with the DOJ. Having had several large >> PC manufacturers re

Re: Microsoft Hatred FAQ

2005-10-15 Thread Mike Schilling
"John Bokma" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Which standards? W3C doesn't make standards (they talk about working > drafts and recommendations), so nothing to warp there for MS. Umm, a recommendation *is* a standard. And Microsoft must disagree with you. When the

Re: Jargons of Info Tech industry

2005-10-15 Thread Gordon Burditt
>>>But HTML is not the problem! >> Right, it's what the HTML-interpreting engines might do that is >> the problem. > >You mean the same problem as for example using a very long header in >your email to cause a buffer overflow? That is possible with plain >ASCII, and has been done. Before worryin

Re: Microsoft Hatred FAQ

2005-10-15 Thread Steven D'Aprano
On Sun, 16 Oct 2005 00:47:09 +, John Bokma wrote: > Ok, let me spell it out for you: If all your applications are web based, > and the OS shouldn't matter, why do Linux distributions matter? It > doesn't matter which one you use to run, for example, OpenOffice. Yet > people pick a certain d

Re: Microsoft Hatred FAQ

2005-10-15 Thread Gunnar Hjalmarsson
[ Followup-To set to the less inappropriate alt.religion ] Xah Lee wrote: > Microsoft Hatred, FAQ Once again you fools have been tricked by the XL troll to hold an endless off-topic discussion in several groups. -- Gunnar Hjalmarsson Email: http://www.gunnar.cc/cgi-bin/contact.pl -- http://ma

Re: Microsoft Hatred FAQ

2005-10-15 Thread Matt Garrish
"John Bokma" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Matt Garrish" <[EMAIL PROTECTED]> wrote: > >> Eventually the hope is that your OS and browser >> will become the only means of accessing the internet. And if your OS >> and browser are the only way to access the Internet,

Re: Microsoft Hatred FAQ

2005-10-15 Thread John W. Kennedy
Tim Roberts wrote: > "Jeroen Wenting" wrote: > >>Microsoft isn't evil, they're not a monopoly either. >>If they were a monopoly they'd have 100% of the market and there'd be no >>other software manufacturers at all. > > > This is wrong. The dictionary definition of a monopoly is when a > manu

Re: How to get a raised exception from other thread

2005-10-15 Thread themightydoyle
I also need an answer to this problem. I'm using windows. Throwing an exception in thread B from thread A using a callback function. The function runs, but the thread never actually catches the exception. The try/except block is in the run() method (over-riden from the Thread class) -- http:/

Re: How to get a raised exception from other thread

2005-10-15 Thread Peter Hansen
[EMAIL PROTECTED] wrote: > I also need an answer to this problem. What _is_ the problem? We're still waiting for a clear description from the OP as to what the problem really is. How would you describe what _your_ problem is? > I'm using windows. Throwing an > exception in thread B from t

Re: How to get a raised exception from other thread

2005-10-15 Thread themightydoyle
Here's a dumbed down version of what i'm doing: import time import threading class threader(threading.Thread): def __init__(self): threading.Thread.__init__(self) pass def run(self): try: while 1: time.sleep(5) except SystemExit

Two python database questions

2005-10-15 Thread Dan Stromberg
Hi folks. I'm working on some file indexing software, in python of course. Over the course of working on it, I've come upon two python+database related questions: 1) Is there a reason for the gdbm module in python 2.4.1 not to have a get method? This makes it a touch less dictionary-like. 2)

Re: Why asci-only symbols?

2005-10-15 Thread Bengt Richter
On Wed, 12 Oct 2005 10:56:44 +0200, =?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?= <[EMAIL PROTECTED]> wrote: >Mike Meyer wrote: >> Out of random curiosity, is there a PEP/thread/? that explains why >> Python symbols are restricted to 7-bit ascii? > >No PEP yet; I meant to write one for several years

List of strings to list of floats ?

2005-10-15 Thread Madhusudan Singh
Is it possible to convert a very long list of strings to a list of floats in a single statement ? I have tried float(x) and float(x[:]) but neither work. I guess I would have to write a loop if there isn't a way. -- http://mail.python.org/mailman/listinfo/python-list

Re: Microsoft Hatred FAQ

2005-10-15 Thread John Wingate
Peter T. Breuer <[EMAIL PROTECTED]> wrote: > In comp.os.linux.misc John Wingate <[EMAIL PROTECTED]> wrote: >> Peter T. Breuer <[EMAIL PROTECTED]> wrote: >>> In comp.os.linux.misc Jeroen Wenting >>> wrote: Without Microsoft 90% of us would never have seen a computer more powerful than a

Re: List of strings to list of floats ?

2005-10-15 Thread skip
Madhusudan> Is it possible to convert a very long list of strings to a Madhusudan> list of floats in a single statement ? Madhusudan> I have tried float(x) and float(x[:]) but neither work. I Madhusudan> guess I would have to write a loop if there isn't a way. Try: >>> los =

Re: How to get a raised exception from other thread

2005-10-15 Thread themightydoyle
Nevermind. I found a better solution. I used shared memory to create a keep-alive flag. I then use the select function with a specified timeout, and recheck the keep-alive flag after each timeout. Thanx for all the input. -- http://mail.python.org/mailman/listinfo/python-list

Re: Jargons of Info Tech industry

2005-10-15 Thread John Bokma
[EMAIL PROTECTED] (Gordon Burditt) wrote: But HTML is not the problem! >>> Right, it's what the HTML-interpreting engines might do that is >>> the problem. >> >>You mean the same problem as for example using a very long header in >>your email to cause a buffer overflow? That is possible with

Re: Microsoft Hatred FAQ

2005-10-15 Thread John Bokma
"Mike Schilling" <[EMAIL PROTECTED]> wrote: > > "John Bokma" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >> Which standards? W3C doesn't make standards (they talk about working >> drafts and recommendations), so nothing to warp there for MS. > > Umm, a recommendation *is* a

Re: Microsoft Hatred FAQ

2005-10-15 Thread David Schwartz
"Måns Rullgård" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "David Schwartz" <[EMAIL PROTECTED]> writes: >> "Mike Meyer" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >>> What you call "clever marketing" the DOJ calls "monopolistic >>> practices". The courts

Re: Microsoft Hatred FAQ

2005-10-15 Thread David Schwartz
"John Bokma" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ok, let me spell it out for you: If all your applications are web based, > and the OS shouldn't matter, why do Linux distributions matter? It > doesn't matter which one you use to run, for example, OpenOffice. Yet > peopl

Re: Microsoft Hatred FAQ

2005-10-15 Thread John Bokma
Steven D'Aprano <[EMAIL PROTECTED]> wrote: > On Sun, 16 Oct 2005 00:47:09 +, John Bokma wrote: > >> Ok, let me spell it out for you: If all your applications are web >> based, and the OS shouldn't matter, why do Linux distributions >> matter? It doesn't matter which one you use to run, for ex

Re: Microsoft Hatred FAQ

2005-10-15 Thread David Schwartz
"Steven D'Aprano" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sat, 15 Oct 2005 15:48:18 -0700, David Schwartz wrote: >> "Mike Meyer" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >>> What you call "clever marketing" the DOJ calls "monopolistic >>> practice

Re: Microsoft Hatred FAQ

2005-10-15 Thread Peter T. Breuer
In comp.os.linux.misc David Schwartz <[EMAIL PROTECTED]> wrote: > I guess I wasn't explicit enough. Most people who want cars also want an > engine. Some don't. Dealers could sell cars and engines separately. They > just (generally) don't. There is nothing illegal or immoral about this. Ther

Re: Microsoft Hatred FAQ

2005-10-15 Thread John Bokma
"Matt Garrish" <[EMAIL PROTECTED]> wrote: > > "John Bokma" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> "Matt Garrish" <[EMAIL PROTECTED]> wrote: >> >>> Eventually the hope is that your OS and browser >>> will become the only means of accessing the internet. And if your OS >>

Re: Comparing lists

2005-10-15 Thread Christian Stapfer
"Steven D'Aprano" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sat, 15 Oct 2005 18:17:36 +0200, Christian Stapfer wrote: > I'd prefer a (however) rough characterization of computational complexity in terms of Big-Oh (or Big-whatever) *anytime* to marketing-type >>

Weekly Python Patch/Bug Summary

2005-10-15 Thread Kurt B. Kaiser
Patch / Bug Summary ___ Patches : 344 open ( +3) / 2955 closed ( +2) / 3299 total ( +5) Bugs: 883 open ( -1) / 5341 closed (+20) / 6224 total (+19) RFE : 201 open ( +5) / 187 closed ( +0) / 388 total ( +5) New / Reopened Patches __ Compiling

<    1   2