"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
>>
"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
>>
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
"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
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
"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
"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
"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
[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
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
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
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 =
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
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
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
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)
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
[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
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:/
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
"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,
[ 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
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
>>>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
"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
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
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
>> 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
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
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,
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
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
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
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()
>>>
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
[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
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
[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
"Matt Garrish" <[EMAIL PROTECTED]> wrote:
>
> "Tim Roberts" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> "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 s
"David Schwartz" <[EMAIL PROTECTED]> wrote:
>
> "John Bokma" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
>> "David Schwartz" <[EMAIL PROTECTED]> wrote:
>
>>> "Tim Roberts" <[EMAIL PROTECTED]> wrote in message
>>> news:[EMAIL PROTECTED]
>
Part of their behavior really
I know this problem has a very simple answer, but I've checked the web and I
don't understand the answers that I've found.
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.
I've tr
On Sat, 08 Oct 2005 07:55:59 GMT, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
>On Fri, 07 Oct 2005 21:24:35 +1000, Steven D'Aprano
><[EMAIL PROTECTED]> declaimed the following in
>comp.lang.python:
>
>> I think where the people are getting confused is that it is (arguably)
>> acceptable to use "t
[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 behavior really escape me. The whole thing about
>> >> browser w
"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 agreed with the DOJ. Having had several large
>> PC manufacturers refuse to sell me
Mike Meyer wrote:
> You clearly weren't paying attention to what the rest
> of the microcomputer industry was doing while Gates was selling IBM
> non-existent software. While IBM was introducing 16-bit processors and
> DOS was doing a flat file system, Tandy was selliig systems - for a
> fraction o
Alex Martelli <[EMAIL PROTECTED]> wrote:
> I still vaguely hope that in 3.0, where backwards incompatibilities
> can be introduced, Python may shed some rarely used operators such as
> these (for all types, of course).
I hope there is no serious plan to drop them. There is nothing wrong in havin
"John Bokma" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "David Schwartz" <[EMAIL PROTECTED]> wrote:
>> "Tim Roberts" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>>> Part of their behavior really escape me. The whole thing about
>>> browser wars confuses m
On Wed, 12 Oct 2005 15:55:10 -0400, Madhusudan Singh <[EMAIL PROTECTED]> wrote:
>Robert Wierschke wrote:
>
>> Madhusudan Singh schrieb:
>>> Hi
>>>
>>> I have a python application that writes a lot of data to a bunch
>>> of files
>>> from inside a loop. Sometimes, the application h
On Fri, 7 Oct 2005 15:28:24 -0500, Terry Hancock <[EMAIL PROTECTED]> wrote:
>On Friday 07 October 2005 03:01 am, Steve Holden wrote:
>> OK, so how do you account for the execresence "That will give you a
>> savings of 20%", which usage is common in America?
>
>In America, anyway, "savings" is a c
According to my "Python in a Nutshell":
q.get(block=True)
is the signature, so, as you use it above, the call will hang until
something is on the queue. If block is false and the queue is empty,
q.get() will raise the exception Empty.
q.get_nowait is apparently synonymous with q.get(block=False)
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 easy creation of
ad-hoc tools to search and extract d
"Tim Roberts" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "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
John Bokma <[EMAIL PROTECTED]> writes:
> "David Schwartz" <[EMAIL PROTECTED]> wrote:
> >
> > "Tim Roberts" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> >
> >> Part of their behavior really escape me. The whole thing about
> >> browser wars confuses me. Web browsers repres
"David Schwartz" <[EMAIL PROTECTED]> wrote:
>
> "Tim Roberts" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
>> Part of their behavior really escape me. The whole thing about
>> browser wars confuses me. Web browsers represent a zero billion
>> dollar a year market. Why woul
TROLL
--
http://mail.python.org/mailman/listinfo/python-list
"Tim Roberts" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Part of their behavior really escape me. The whole thing about browser
> wars confuses me. Web browsers represent a zero billion dollar a year
> market. Why would you risk anything to own it?
It really isn't that
"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 refuse to sell me a system without some form of
> Windows because MS m
Tim Roberts <[EMAIL PROTECTED]> wrote:
> Part of their behavior really escape me. The whole thing about
> browser wars confuses me. Web browsers represent a zero billion
> dollar a year market. Why would you risk anything to own it?
Opera seems to be making money with it. Also, Firefox gets mo
I'm using the same distribution (or at least that is what I started
with). Try using the following sitecustomize.py file:
## sitecustomize.py ##
import sys
syspath = sys.path
libpath = '\\Program Files\\Python\\Lib'
syspath.append(libpath+'\\lib-tk')
sys.path = none
sys.path = syspath
On Fri, 7 Oct 2005 21:56:12 -0700, [EMAIL PROTECTED] (Alex Martelli) wrote:
>Antoon Pardon <[EMAIL PROTECTED]> wrote:
> ...
>> >> egold = 0:
>> >> while egold < 10:
>> >> if test():
>> >> ego1d = egold + 1
>> >>
>> >
>> > Oh come on. That is a completely contrived example,
>>
>>
"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
manufacturer has all or nearly all of
I want to be able to easily create reusable shapes in Tkinter and be
able to use them in mid level dialogs. So after some experimenting I've
managed to get something to work.
The following does pretty much what I need, but I think it can be
improved on. So could anyone take a look and let me
"Martin P. Hellwig" <[EMAIL PROTECTED]> wrote:
> John Bokma wrote:
>
>> You mean like the lamp that keeps burning forever, like Philips has?
>
> No more like all the hydrogen technologies that shell has in their
> possession for the last decades and only recently has begun to restart
> those pr
Michael Heiming <[EMAIL PROTECTED]> wrote:
> PLONK
So you think you can make points by PLONKing people? Grow up and get a
life. You can learn from listening. You'll learn nothing from ploinking.
Oh, and I am not amazed, since people who claim utter BS is right, plonk
people who don't agree.
-
A two parter newbie question I am afraid.
Am I right in thinking that using something like ...
item = a_queue.get()
print item
will not print 'item' unless or until there is an item in the queue to
retrieve. Effectively stalling the thread at the .
In comp.os.linux.misc Matt Garrish <[EMAIL PROTECTED]>:
> "Michael Heiming" <[EMAIL PROTECTED]> wrote in message
[..]
>> Dunno what's so BS about the possibility that the wintel mafia
>> works hand in hand, M$ introduces a new OS and Intel faster CPU.
> Your presumption that poor coding has anyt
"Michael Heiming" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> In comp.os.linux.misc John Bokma <[EMAIL PROTECTED]>:
>> Michael Heiming <[EMAIL PROTECTED]> wrote:
>
>>> In comp.os.linux.misc John Bokma <[EMAIL PROTECTED]>:
Michael Heiming <[EMAIL PROTECTED]> wrote:
>>>
>
[EMAIL PROTECTED] wrote:
> Sometimes I suggest to add things to the language (like adding some set
> methods to dicts), but I've seen that I tend to forget the meaning of
> six set/frozenset operators:
>
> s & t s &= t
> s | t s |= t
> s ^ t s ^= t
>
> My suggestion is to remove them, and keep
<[EMAIL PROTECTED]> wrote:
> Sometimes I suggest to add things to the language (like adding some set
> methods to dicts), but I've seen that I tend to forget the meaning of
> six set/frozenset operators:
>
> s & t s &= t
> s | t s |= t
> s ^ t s ^= t
>
> My suggestion is to remove them, and k
Sometimes I suggest to add things to the language (like adding some set
methods to dicts), but I've seen that I tend to forget the meaning of
six set/frozenset operators:
s & t s &= t
s | t s |= t
s ^ t s ^= t
My suggestion is to remove them, and keep them only as explicit
non-operator version
Jari Aalto wrote:
> Thanks, but that will not work. The files are gathered from discrete
> places
really? so what is that "find" command doing in your code ?
compile $(find path/to -type f -name "*.py")
seems to me as if
python -mcompileall path/to
would do exactly what your script d
John Bokma wrote:
> You mean like the lamp that keeps burning forever, like Philips has?
>
No more like all the hydrogen technologies that shell has in their
possession for the last decades and only recently has begun to restart
those projects.
>> Although Commodore where never serious compet
In comp.os.linux.misc John Bokma <[EMAIL PROTECTED]>:
> Michael Heiming <[EMAIL PROTECTED]> wrote:
>> In comp.os.linux.misc John Bokma <[EMAIL PROTECTED]>:
>>> Michael Heiming <[EMAIL PROTECTED]> wrote:
>>
The only thing positive about M$ entering the market, probably
due to their ineff
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
>>> characterizations like this one...
>>
>> Oh how naive.
>
> Why is it that even co
Jari Aalto wrote:
> Thanks, is there equivalent to this Perl statement in Python?
>
>@list = @ARGV[1 .. @ARGV];
>
> or something similar so that I could avoid the 1 > 1 (sys.argv) check
> altogether?
for arg in sys.argv[1:]:
...
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell
Michael Heiming <[EMAIL PROTECTED]> wrote:
> In comp.os.linux.misc John Bokma <[EMAIL PROTECTED]>:
>> Michael Heiming <[EMAIL PROTECTED]> wrote:
>
>>> The only thing positive about M$ entering the market, probably
>>> due to their ineffective programming style they pushed Intel into
>>> producing
In comp.os.linux.misc Peter T. Breuer <[EMAIL PROTECTED]>:
> In comp.os.linux.misc John Wingate <[EMAIL PROTECTED]> wrote:
>> Peter T. Breuer <[EMAIL PROTECTED]> wrote:
>>> In comp.os.linux.misc Jeroen Wenting
>>> wrote:
[..]
>> Sun Microsystems was incorporated (with four employees) in February
"Chris F.A. Johnson" <[EMAIL PROTECTED]> writes:
> On 2005-10-15, Jari Aalto wrote:
>Don't indent:
>
> function compile ()
> {
> python -c '
> import os, sys, py_compile;
> i = 0;
> for arg in sys.argv:
> file = os.path.basename(arg);
> dir = os.path.dirname(arg);
>
In comp.os.linux.misc John Bokma <[EMAIL PROTECTED]>:
> Michael Heiming <[EMAIL PROTECTED]> wrote:
>> The only thing positive about M$ entering the market, probably
>> due to their ineffective programming style they pushed Intel into
>> producing pretty fast while cheapo CPUs.
> Amazing, I though
Mentre io pensavo ad una intro simpatica "Cousin Stanley" scriveva:
>> I'd add also config.txt ;-)
>
> I did but failed to include it in the list I posted
yes of course.
> One small config problem that I haven't figured out
> how to deal with
>
> I use a dark background wi
Tim Roberts wrote:
> >This entry is obsolete: it should mention the 'key' option of the
> >standard sort method.
>
> It should mention it, but not necessarily recommend it.
>
> I haven't run the numbers in Python, but in Perl, the undecorated sort is
> so well-optimized that the Schwartzian transf
"Roedy Green" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
> On Tue, 11 Oct 2005 11:45:03 -0400, Mike Meyer <[EMAIL PROTECTED]> wrote
> or quoted :
>
>>Jeff Poskanzer, now *he* has a spam problem. He gets a few million
>>spams a day: http://www.acme.com/mail_filtering/ >.
>
> It is
On 2005-10-15, Jari Aalto wrote:
>
> [Keep CC, thank you]
>
> Please suggest comments how can I make this script to work
> from bash. Also how can I skip better the [0] argument from
> command line without hte extra variable i?
>
> #!/bin/bash
>
> function compile ()
> {
> pyth
"Martin P. Hellwig" <[EMAIL PROTECTED]> wrote:
> Jeroen Wenting wrote:
>
>>
>> Without Microsoft 90% of us would never have seen a computer more
>> powerful than a ZX-81 and 90% of the rest of us would never have used
>> only dumb mainframe terminals.
>
> At the time you "PC" guys where hacking
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 ZX-81 and 90% of the rest of us would never have
Kenneth McDonald wrote:
> Is there any emerging consensus on the "best" UI for toolkit. Tk never
> quite made it but from what I can see, both qt and wxWin are both doing
> fairly well in general. I'm already aware of the licensing issues
> surrounding qt (fwiw, I think their license fee for co
Kenneth McDonald schrieb:
> Is there any emerging consensus on the "best" UI for toolkit. Tk never
> quite made it but from what I can see, both qt and wxWin are both doing
> fairly well in general. I'm already aware of the licensing issues
> surrounding qt (fwiw, I think their license fee for
Michael Heiming <[EMAIL PROTECTED]> wrote:
> The only thing positive about M$ entering the market, probably
> due to their ineffective programming style they pushed Intel into
> producing pretty fast while cheapo CPUs.
Amazing, I thought Xah Lee was the only one able to fit so much BS in one
sen
Marcin 'Qrczak' Kowalczyk <[EMAIL PROTECTED]> wrote:
>Abdulaziz Ghuloum <[EMAIL PROTECTED]> writes:
>
>> Python FAQs contain an entry to the schwartzian transform.
>>
>> http://www.python.org/doc/faq/programming.html#i-want-to-do-a-complicated-sort-can-you-do-a-schwartzian-transform-in-python
>
>T
Steven D'Aprano <[EMAIL PROTECTED]> wrote:
>
>Global variables aren't *entirely* bad. I use them myself, sometimes for
>constants (well, pseudo-constants -- Python doesn't enforce constants) and
>short, quick 'n' dirty throw away code.
>
>But in general, as your code gets bigger and more complicate
"Real Gagnon" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
> > I'd be VERY surprised if IBM predicted that there would be only 5
> > COMPUTERS in *2000* - perhaps you mean 5 *manufacturers* of computers?
> > - unless the prediction was made a VERY long time ago. I think you are
> >
"Fredrik Lundh" <[EMAIL PROTECTED]> writes:
> Jari Aalto wrote:
>
| > Please suggest comments how can I make this script to work
| > from bash.
>
> replace it with a call to the compileall module?
>
> $ python -mcompileall [directory...]
Thanks, but that will not work. The files are gathered
> I'd be VERY surprised if IBM predicted that there would be only 5
> COMPUTERS in *2000* - perhaps you mean 5 *manufacturers* of computers?
> - unless the prediction was made a VERY long time ago. I think you are
> giving a badly-mangled version of something I saw when I worked at
> IBM.
"I thin
"Steven D'Aprano" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Sat, 15 Oct 2005 06:31:53 +0200, Christian Stapfer wrote:
>
>> "jon" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>>>
>>> To take the heat out of the discussion:
>>>
>>> sets are blazingly fast.
>>
dcrespo wrote:
> How can I get a raised exception from other thread that is in an
> imported module?
Define what "get" means for your purposes. It appears that you mean you
want to catch the exception, but in the thread which launched the other
thread in the first place. If that's true, please
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 ZX-81 and 90% of the rest of us would never have used only dumb
>> mainframe terminals.
>
> Uh - when microsoft pro
[EMAIL PROTECTED] wrote:
> When I use Pyparallel to access the parallel port in WinXP with Python
> I get an error saying that this is a priviledged instruction
>
> Any clue ?
Here's a clue: please always cut and paste the *entire actual* traceback
when you report a Python error.
If it's not a
Yes but I cannot get the if statement to work to compare the two or the
replaceChild portion to work. Could someone help me with that.
--
http://mail.python.org/mailman/listinfo/python-list
On 10/14/05, Peter Hansen <[EMAIL PROTECTED]> wrote:
Christian Stapfer wrote:> 0.0. ... and add an item to your SendTo folder that allows> you to have Windows Explorer open a terminal window with its> current directory set to the currently displayed folder
> (= "Open terminal here").Or install the
> I'd add also config.txt ;-)
I did but failed to include it in the list I posted
One small config problem that I haven't figured out
how to deal with
I use a dark background with white foreground text
When posting a reply in the compose/edit window
th
1 - 100 of 138 matches
Mail list logo