Kay Schluehr <[EMAIL PROTECTED]> writes:
> On 9 Nov., 07:06, Steven D'Aprano <[EMAIL PROTECTED]
[...]
>> In any case, the above doesn't work now, since either L1 or L2 might
>> contain complex numbers.
>> The sorted() trick only works because you're
>> making an assumption about the kinds of thing
On Nov 8, 10:14 pm, Kay Schluehr <[EMAIL PROTECTED]> wrote:
> I guess building a multiset is a little more expensive than just O(n).
> It is rather like building a dict from a list which is O(k*n) with a
> constant but small factor k. The comparison is of the same order. To
> enable the same behavi
fuck
--
http://mail.python.org/mailman/listinfo/python-list
Hi All,
I need to create log files (data) mining tool.
Are there any Python classes/modules/functions that are usually used in these
cases, apart from "playing" with regular expressions ?
The logs comprise of lines like so:
Jul 31 09:53:13 iSW-00-091 kernel:
T3=0x3a52b1e:3:0x8:fcs:FcsGetVpdLis
On Sun, Nov 9, 2008 at 12:29 AM, Stef Mientki <[EMAIL PROTECTED]> wrote:
> Qt seems to be good, but I don't like their licence.
What's the problem with qt licence?
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
Grzegorz Staniak wrote:
On 08.11.2008, Eric Wertman <[EMAIL PROTECTED]> wroted:
To be exact, I used the words "engine/library", not "a whole framework".
Thanks for the link, I've googled for articles and recipes myself and
as I said, I more or less know what to do - I just thought it might
Steven D'Aprano wrote:
Not according to my Comp Sci lecturers back in the day, and not according
to my Pascal books.
Pascal books will tell you what call-by-value means
in Pascal. You can't just blindly take that description
and apply it to other languages, just as you can't
take what your Pas
Dennis Lee Bieber wrote:
You must have missed all the threads about "binding" then... Wherein
a Python "assignment statement" "binds the LHS name to the RHS object"
rather than "assigns the RHS object value to the LHS"
I know that it is sometimes referred to that way. But
nobody seems
Kay Schluehr wrote:
> On 9 Nov., 07:06, Steven D'Aprano <[EMAIL PROTECTED]
> cybersource.com.au> wrote:
>> How often do you care about equality ignoring order for lists containing
>> arbitrary, heterogeneous types?
>
> A few times. Why do you care, Steven?
"I miss this feature" is an unqualified
Mr.SpOOn wrote:
> On Sun, Nov 9, 2008 at 12:29 AM, Stef Mientki <[EMAIL PROTECTED]> wrote:
>> Qt seems to be good, but I don't like their licence.
>
>
> What's the problem with qt licence?
"You must purchase a Qt Commercial License from Qt Software or from one
of its authorized resellers before y
Steven D'Aprano wrote:
>> Not sure how to transform it into a search key that is efficient and
>> reliable.
>
> Yes, that's a general problem. It's not always easy to convert a sort
> comparison function into a key-based sort. I know that 99% of the time
> key is the right way to do custom sorts
hello,
although this is not a real problem for me,
it was caused by a copying, instead of moving, a piece of code.
But I don't understand at all why the code below gives the error.
class derived_class, is defined twice,
the error is cuase by the second instance creation "test2="
for me even weird
On Fri, 07 Nov 2008 18:36:41 -0800, Roy Smith wrote:
> I'm using Python as part of a test fixture for a large (mostly C++)
> software project. We build on a lot of different platforms, but Solaris
> is a special case -- we build on Solaris 8, and then run our test suite
> on Solaris 8, 9, and 10.
Stef Mientki <[EMAIL PROTECTED]> writes:
> hello,
>
> although this is not a real problem for me,
> it was caused by a copying, instead of moving, a piece of code.
> But I don't understand at all why the code below gives the error.
> class derived_class, is defined twice,
> the error is cuase by t
r3bol <[EMAIL PROTECTED]> writes:
> Hi, sorry to post this, but I've had a really hard time finding how to
> do it.
> Q.
> How can I break up a value in a list to a list of individual items
> (preferably without importing any modules)?
> Like...
> ['12345'] (string)
> to
> [1, 2, 3, 4, 5] [numbers
Duncan Booth <[EMAIL PROTECTED]> writes:
> Mr.SpOOn wrote:
> > What's the problem with qt licence?
>
> "You must purchase a Qt Commercial License from Qt Software or from
> one of its authorized resellers before you start developing
> commercial software. The Commercial license does not allow the
On 9 Nov 2008 10:46:53 GMT, Duncan Booth <[EMAIL PROTECTED]>
wrote:
> Mr.SpOOn wrote:
>
>> On Sun, Nov 9, 2008 at 12:29 AM, Stef Mientki <[EMAIL PROTECTED]>
>> wrote:
>>> Qt seems to be good, but I don't like their licence.
>>
>>
>> What's the problem with qt licence?
>
> "You must purchase a Qt
On Sun, Nov 9, 2008 at 2:38 AM, r3bol <[EMAIL PROTECTED]> wrote:
> Hi, sorry to post this, but I've had a really hard time finding how to
> do it.
> Q.
> How can I break up a value in a list to a list of individual items
> (preferably without importing any modules)?
> Like...
> ['12345'] (string)
>
In article <[EMAIL PROTECTED]>,
Terry Reedy <[EMAIL PROTECTED]> wrote:
> Yes, key= lets you sort anything anyway you want.
> >>> l=[1, '2', 3j]
> >>> sorted(l, key = str)
> [1, '2', 3j]
The problem here is that str() is degenerate, i.e. a != b does not imply
str(a) != str(b).
> >>> sorted(l
greg <[EMAIL PROTECTED]> writes:
> Arnaud Delobelle wrote:
>
>> What's a variable reference?
>
> It's a reference to a variable. It's what gets passed behind
> the scenes when you use a VAR parameter in Pascal, or a
> ByRef parameter in VB.
Do you mean you can't do the following C++ snippet in Pa
* azrael (Sat, 8 Nov 2008 11:35:03 -0800 (PST))
> whoever I ask, everyone tells me when it come to python and GUI-s and
> that there is the best way to use WX.
Don't ask. Think for yourself. wxPython is in my humble opinion the most
popular but only the second best choice.
> I am browsing for th
[int(i) for i in ['12345'][0]]
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 09 Nov 2008 11:17:28 +, Arnaud Delobelle wrote:
> greg <[EMAIL PROTECTED]> writes:
>
>> Arnaud Delobelle wrote:
>>
>>> What's a variable reference?
>>
>> It's a reference to a variable. It's what gets passed behind the scenes
>> when you use a VAR parameter in Pascal, or a ByRef param
Arnaud Delobelle wrote:
What's a variable reference?
It's a reference to a variable. It's what gets passed behind
the scenes when you use a VAR parameter in Pascal, or a
ByRef parameter in VB.
What you're saying is that in the code below, when foo(q) is called
then 'p' in foo is another name
Hi, sorry to post this, but I've had a really hard time finding how to
do it.
Q.
How can I break up a value in a list to a list of individual items
(preferably without importing any modules)?
Like...
['12345'] (string)
to
[1, 2, 3, 4, 5] [numbers]
Thanks.
--
http://mail.python.org/mailman/listinfo
Also, I thought that part of the python philosophy was to allow any
sort of object in a list, and to allow the same methods to work with
whatever was in list.
Not really. When the usual argument about the existence (and
justification) of lists & tuples comes along, one common distinction is
t
Mr.SpOOn wrote:
On Sun, Nov 9, 2008 at 12:29 AM, Stef Mientki <[EMAIL PROTECTED]> wrote:
Qt seems to be good, but I don't like their licence.
What's the problem with qt licence?
I can't change a commercial application into an open application and
vice-versa.
(And therefor I also
On 9 Nov., 09:26, Rhamphoryncus <[EMAIL PROTECTED]> wrote:
> On Nov 8, 10:14 pm, Kay Schluehr <[EMAIL PROTECTED]> wrote:
>
> > I guess building a multiset is a little more expensive than just O(n).
> > It is rather like building a dict from a list which is O(k*n) with a
> > constant but small facto
On Nov 9, 2:35 am, azrael <[EMAIL PROTECTED]> wrote:
> whoever I ask, everyone tells me when it come to python and GUI-s and
> that there is the best way to use WX. I am browsing for the 10th time
> during the last year and I can still not bealive that there is not one
> project to make gui-buildin
Nov 9 2008,9.14PM<[EMAIL PROTECTED]>
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, 30 Oct 2008 17:45:40 +0100
Gerhard Häring <[EMAIL PROTECTED]> wrote:
> psyco seems to just work on Linux with Python 2.6. So it is probably
> "only" a matter of compiling it on Windows for Python 2.6.
Yes. I compiled it using "wp setup.py build --compiler=mingw32" with
cygwin, where wp w
On 2008-11-09, Stef Mientki <[EMAIL PROTECTED]> wrote:
> Mr.SpOOn wrote:
>> On Sun, Nov 9, 2008 at 12:29 AM, Stef Mientki <[EMAIL PROTECTED]> wrote:
>>
>>> Qt seems to be good, but I don't like their licence.
>>>
>>
>>
>> What's the problem with qt licence?
>
> I can't change a commercial a
In article <[EMAIL PROTECTED]>,
"Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> >
> > Also, I thought that part of the python philosophy was to allow any
> > sort of object in a list, and to allow the same methods to work with
> > whatever was in list.
>
> Not really. When the usual argument ab
On Sun, 09 Nov 2008 06:15:02 -0800, aud2008 wrote:
> Nov 9 2008,9.14PM<[EMAIL PROTECTED]>
to be or not to be... what is the question.
--
http://mail.python.org/mailman/listinfo/python-list
The thread on sorting in Python 3 got me to thinking. How could I sort a
list of complex numbers using key?
>>> lst = [random.random()+random.random()*1j for i in range(10)]
>>> lst
[(0.32672251849959244+0.41428983433288791j),
(0.35238056484609881+0.92758203977208264j),
(0.193378240
John Machin schrieb:
Be consistent with your punctuation style. I'd suggest *not* having a
space after ( and before ), as in the previous line. Read
http://www.python.org/dev/peps/pep-0008/
What were the reasons for preferring (foo) over ( foo )? This PEP gives
recommendations for coding styl
Roy Smith wrote:
> In 3.0, can you still order types? In 2.x, you can do:
>
t1 = type(1)
t2 = type(1j)
t1 < t2
> False
>
> If this still works in 3.0, then you can easily do something like:
>
> def total_order(o1, o2):
>"Compare any two objects of arbitrary types"
>try:
>
Ben Finney wrote:
>> It is a novel interpretation of the GPL. Qt Software have every
>> right to impose this sort of condition, but it makes me want to
>> avoid them.
>
> No, they have no such right to interpret the GPL this way; it would be
> entirely incompatible with the GPL since it would be a
thanks :) and so many different ways!
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> I can sort by the real parts just fine:
>
> >>> lst.sort(key=lambda x: x.real)
> >>> pprint.pprint(lst)
> [2.6001j,
> 20j,
> (1+2.73j),
> (1+21j),
> (2+2.8603j),
> (2+22j),
> (3+2.9902j),
>
Arnaud Delobelle schrieb:
Adding to John's comments, I wouldn't have source as a member of the
Lexer object but as an argument of the tokenise() method (which I would
make public). The tokenise method would return what you currently call
self.result. So it would be used like this.
mylexer =
On Sunday 09 November 2008 13:45, Ben Finney wrote:
> Duncan Booth <[EMAIL PROTECTED]> writes:
>
>> Mr.SpOOn wrote:
>> > What's the problem with qt licence?
>>
>> "You must purchase a Qt Commercial License from Qt Software or from
>> one of its authorized resellers before you start developing
>>
>> Is there a way to do this using just the key arg, no extra data
>> structures?
Duncan> Is a tuple an extra data structure?
lst.sort(key=lambda x: (x.real,x.imag))
pprint.pprint(lst)
Duncan> [2.6001j,
Duncan> 20j,
Duncan> (1+2.73j),
D
Roy Smith schrieb:
In article <[EMAIL PROTECTED]>,
"Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
Also, I thought that part of the python philosophy was to allow any
sort of object in a list, and to allow the same methods to work with
whatever was in list.
Not really. When the usual argument ab
[EMAIL PROTECTED] schrieb:
The thread on sorting in Python 3 got me to thinking. How could I sort a
list of complex numbers using key?
>>> lst = [random.random()+random.random()*1j for i in range(10)]
>>> lst
[(0.32672251849959244+0.41428983433288791j),
(0.35238056484609881+0.92758
Duncan Booth wrote:
> Roy Smith wrote:
>
>> In 3.0, can you still order types? In 2.x, you can do:
>>
> t1 = type(1)
> t2 = type(1j)
> t1 < t2
>> False
>>
>> If this still works in 3.0, then you can easily do something like:
>>
>> def total_order(o1, o2):
>>"Compare any two object
In article <[EMAIL PROTECTED]>,
"Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> Roy Smith schrieb:
> > In article <[EMAIL PROTECTED]>,
> > "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> >
> >>> Also, I thought that part of the python philosophy was to allow any
> >>> sort of object in a list,
In article <[EMAIL PROTECTED]>,
Duncan Booth <[EMAIL PROTECTED]> wrote:
> Roy Smith wrote:
>
> > In 3.0, can you still order types? In 2.x, you can do:
> >
> t1 = type(1)
> t2 = type(1j)
> t1 < t2
> > False
> >
> > If this still works in 3.0, then you can easily do something like
On Sun, 09 Nov 2008 10:45:31 -0500, Roy Smith wrote:
> In article <[EMAIL PROTECTED]>,
> "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>> Roy Smith schrieb:
>>> In article <[EMAIL PROTECTED]>,
>>> "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>>>
>> When I wrote "uniform" I meant objects of the
On Sun, 09 Nov 2008 10:45:31 -0500, Roy Smith wrote:
> In article <[EMAIL PROTECTED]>,
> "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>> Roy Smith schrieb:
>>> In article <[EMAIL PROTECTED]>,
>>> "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>>>
>> When I wrote "uniform" I meant objects of the
On Sun, 09 Nov 2008 10:45:31 -0500, Roy Smith wrote:
> In article <[EMAIL PROTECTED]>,
> "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>> Roy Smith schrieb:
>>> In article <[EMAIL PROTECTED]>,
>>> "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>>>
>> When I wrote "uniform" I meant objects of the
On Sun, 09 Nov 2008 10:45:31 -0500, Roy Smith wrote:
> In article <[EMAIL PROTECTED]>,
> "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>> Roy Smith schrieb:
>>> In article <[EMAIL PROTECTED]>,
>>> "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>>>
>> When I wrote "uniform" I meant objects of the
On 9 Nov 2008 14:40:22 GMT, Duncan Booth <[EMAIL PROTECTED]>
wrote:
> Ben Finney wrote:
>
>>> It is a novel interpretation of the GPL. Qt Software have every
>>> right to impose this sort of condition, but it makes me want to
>>> avoid them.
>>
>> No, they have no such right to interpret the GPL t
Kay Schluehr wrote:
On 9 Nov., 05:04, Terry Reedy <[EMAIL PROTECTED]> wrote:
Have you written any Python code where you really wanted the old,
unpredictable behavior?
Sure:
I was asking the OP ;-)
if len(L1) == len(L2):
return sorted(L1) == sorted(L2) # check whether two lists conta
greg wrote:
No. Passing q by value means that the value of the expression 'q',
whatever that is in the language concerned, gets assigned to the
local variable 'p', whatever *that* means in the language concerned.
In other words, as I acknowledged in my other post, one can say that all
calling
Steven D'Aprano writes:
> How often do you care about equality ignoring order for lists containing
> arbitrary, heterogeneous types?
Arbitrary, I never have. Different types of my choice, a few times.
I was only interested in there being some _sort_ order (and the same in
different runs of the p
Joe Strout wrote:
On Nov 8, 2008, at 2:38 PM, Terry Reedy wrote:
So if you then insist that Python uses "call by object",
you're actually saying it uses call by value!
Both Joe and you seem to be engaging in the following bit of sophistry:
"In order for code A to call code B, some informatio
Chris Rebert wrote:
On Sat, Nov 8, 2008 at 9:16 PM, John Smith <[EMAIL PROTECTED]> wrote:
Hi,
I coded a python script that lets me parse a csv file into html code with a
certain format, but I would like to replace every "<" and ">" character that
appears within each column entry of the csv file
Terry Reedy writes:
> If you want to duplicate 2.x behavior, which does *not* work for all
> types...
>
> def py2key(item): return (str(type(item)), item)
Nope.
sorted((-1, 2, True, False)) == [-1, False, True, 2]
sorted((-1, 2, True, False), key=py2key) == [False, True, -1, 2]
Mig
Phil Thompson wrote:
The only "additional" restrictions are those imposed by the *commercial*
license. As I said before, those restrictions are intended to discourage
commercial developers from avoiding paying license costs during their
development phase.
Is this interpretation of Qt's lice
On Sun, 09 Nov 2008 12:15:42 -0500, Kevin Walzer <[EMAIL PROTECTED]>
wrote:
> Phil Thompson wrote:
>
>>
>> The only "additional" restrictions are those imposed by the *commercial*
>> license. As I said before, those restrictions are intended to discourage
>> commercial developers from avoiding pa
On Sun, Nov 9, 2008 at 4:14 PM, Fuzzyman <[EMAIL PROTECTED]> wrote:
> Hello guys,
>
> Not sure if this is a Windows question or a Python problem...
>
> I'm trying to install Python 2.6 from the msi, on Windows Vista as an
> administrative user with UAC on. If I try to install for all users
> then I
> def comp(x1, x2):
>try:
>if x1return -1
>else:
>return 1
>except TypeError:
>if str(x1)return -1
>else:
>return 1
>
Please correct me if I'm wrong, but I think this is not transitive. If
strings and ints are
Hallvard B Furuseth wrote:
> Terry Reedy writes:
>> If you want to duplicate 2.x behavior, which does *not* work for all
>> types...
>>
>> def py2key(item): return (str(type(item)), item)
>
> Nope.
> sorted((-1, 2, True, False)) == [-1, False, True, 2]
> sorted((-1, 2, True, False)
Phil Thompson wrote:
>> Thay aren't claiming that Qt itself is governed by the GPL, what they
>> are claiming is that the 'Qt Open Source License' permits you to use it
>> for development of "Open Source software governed by the GNU General
>> Public License versions 2 and 3". I believe they can m
> Even in 2.x it doesn't work (I think I posted this earlier but I'm not
> sure anymore) as this example shows:
>
> 2 < 3j and 3j < True, but True < 2
What specific value of x have you been trying? For x=4,5,6, I get
py> 2 < 3j and 3j < True
Traceback (most recent call last):
File "", line
> Heh. Well it would, except the administrator user doesn't have a
> password (purely a VM) and this is unacceptable for runas. :-)
There is, unfortunately, no other way to install Python 2.6 on Vista.
So your choices are really:
1. activate the Administrator account
2. disable UAC
3. go back to X
It would be rally great if wingIDE would have integrated controls for
wxPython.This would be really great.
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
SocketServer.ThreadingTCPServer accepts connections (clients can
connect) before and after it's server_forever method is called,
see below for an example.
IMHO it should only accept connections while server_forever is
running.
Kind regards,
Okko
Example, both _socket.connect calls shoul
On 9 Nov., 17:49, Terry Reedy <[EMAIL PROTECTED]> wrote:
> I was asking the OP ;-)
Thank you for the discussion.
--
http://mail.python.org/mailman/listinfo/python-list
On Sunday 09 November 2008 20:08, Duncan Booth wrote:
> So are the references to 'Qt Open Source License' on the website
> misleading?
It depends on whether you assume that there's a separate license by that
name. In practice, it's a placeholder for the licenses it's available under:
"The Open S
Cupric wrote:
I have a python script that runs fine from the command line or from
within IDLE, but doesn't work through the Vista Task Scheduler.
The script downloads some csv files and then uses pywin32 to combine
the csv files into a single document. When I run it through the task
scheduler, i
Cramer meltdown
.
.
.
***CLICK HERE
http://vids247.cn/Cramer-meltdown
*
.
.
.
.
.
.
.
.
.
.
.
.
Cramer meltdown
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
Roy Smith <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>,
> "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
>>attribution missing:
>>>
>>> Also, I thought that part of the python philosophy was to allow any
>>> sort of object in a list, and to allow the s
Hi,
I wrote a small application connecting to an application and sending
commands to it.
Currently I'm using the methods
import dcop
client = dcop.DCOPClient()
client.registerAs(appname)
ama = dcopclient.rc = dcop.DCOPRef("amarok", "player")
controlling the app works now fine with for example
> In any case, would it be possible to add a cmp= function which did more
> or less what the current default cmp does now?
As somebody pointed out, it's possible to create a key= function that
provides arbitrary ordering: just return an object custom type whose
__lt__ never fails:
class AlwaysOrd
Ed Leafe wrote:
> I'm working on a wxPython app (well, a Dabo app, but it's basically
> the same thing) that presents the user with a selection of several
> wxPython apps that exist on their system. They choose one, and I want to
> then "launch" that app, as if they had typed "python myapp.py"
On 08.11.2008, Piotr Chamera <[EMAIL PROTECTED]> wroted:
>> In a couple of weeks I'm starting a medium-size project (using a web
>> framework) involving a workflow implementation. Are you aware of any
>> open source workflow engines/libraries that I could base the project
>> on? Google returns
On 09.11.2008, Tino Wildenhain <[EMAIL PROTECTED]> wroted:
>>> I think that was part of the problem.. you asked if the wheel had
>>> already been invented, rather than tell us about the stones you have
>>> to haul up a mountain, and whether a wheel is what you need. It's
>>> difficult to answer y
Bigtitsatschool
.
.
.
***CLICK HERE
http://vids247.cn/Bigtitsatschool
*
.
.
.
.
.
.
.
.
.
.
.
.
Bigtitsatschool
--
http://mail.python.org/mailman/listinfo/python-list
I am trying to put up a queue (through a logging thread) so that all
worker threads can ask it to log messages. However, the problem I am
facing is that, well, the logging thread itself is running forever.
It does not know when it should exit. Any suggestion? None of the
worker threads knows for
> Hmmm, I seem to have engaged in a bit of topic drift, for which I
> apologize. I was commenting specifically on the issue of lists holding
> heterogeneous types, not on heterogeneous types being sortable.
Still, I don't think this is a valid counter-example: I claim that the
data in the list
"News123" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,
I was googling quite some time before finding the answer to my question:
'what are the names for the encodings supported by python?'
I found the answer at http://python.active-venture.com/lib/node127.html
Now my quest
On 9 Nov 2008 19:08:35 GMT, Duncan Booth <[EMAIL PROTECTED]>
wrote:
> Phil Thompson wrote:
>
>>> Thay aren't claiming that Qt itself is governed by the GPL, what they
>>> are claiming is that the 'Qt Open Source License' permits you to use it
>>> for development of "Open Source software governed b
Hello all,
I have a list:
suffix = ["aĉ", "ad", "aĵ", "an", "ar"]
and I'm trying to check a word to see if any of the suffixes exist in
the list for example:
if word in suffix:
print "A suffix exist in your word"
when I run this it give me an error:
SyntaxError: Non-ASCII character
On Nov 9, 7:39 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > Heh. Well it would, except the administrator user doesn't have a
> > password (purely a VM) and this is unacceptable for runas. :-)
>
> There is, unfortunately, no other way to install Python 2.6 on Vista.
> So your choices are rea
[EMAIL PROTECTED] wrote:
[...]
> Duncan> If you don't like the tuple then just do the two sorts separately:
>
> lst.sort(key=lambda x: x.imag)
> lst.sort(key=lambda x: x.real)
> ...
>
> I tried that. I could have sworn when I read through the output it hadn't
> retained
thanks guys.
cheers,
Stef
Terry Reedy wrote:
Stef Mientki wrote:
hello,
although this is not a real problem for me,
it was caused by a copying, instead of moving, a piece of code.
But I don't understand at all why the code below gives the error.
class derived_class, is defined twice,
the erro
On Nov 8, 10:00 am, Iain <[EMAIL PROTECTED]> wrote:
> On Nov 7, 4:42 pm, Lawrence D'Oliveiro <[EMAIL PROTECTED]
>
> central.gen.new_zealand> wrote:
> > In message
> > <[EMAIL PROTECTED]>, Iain
> > wrote:
>
> > > Can someone give me some pointers as to how I might create some sort
> > > of blocking
On Nov 9, 2008, at 4:42 PM, Steve Holden wrote:
Ed! Good to see you on c.l.py!
I usually only get around to reading the list when I'm having a
problem I can't figure out. .
Simply too busy most of the time.
a) Try using the subprocess module
b) Use *.pyw programs to ensure no c
On Nov 10, 11:00 am, News123 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was googling quite some time before finding the answer to my question:
> 'what are the names for the encodings supported by python?'
>
> I found the answer athttp://python.active-venture.com/lib/node127.html
>
> Now my question:
>
hi everyone!
when i install pysqlite i meet bellow error. ( use easy_install and
source code building same problem )
ld: Can't find library for -lpython2.5
what mean this message? and what i do?
my system is hp-ux 11i v3. and python2.5 is installed.
ld command also avaliable.
please help for m
Mlk day of service
.
.
.
***CLICK HERE
http://vids247.cn/Mlk-day-of-service-
*
.
.
.
.
.
.
.
.
.
.
.
.
Mlk day of service
--
http://mail.python.org/mailman/listinfo/python-list
Hello guys,
Not sure if this is a Windows question or a Python problem...
I'm trying to install Python 2.6 from the msi, on Windows Vista as an
administrative user with UAC on. If I try to install for all users
then I am told I don't have privileges to do that... (No UAC prompt.)
The only other
Hi All,
I'm pleased to announce the first release of xlutils. This is a small
collection of utilities that make use of both xlrd and xlwt to process
Microsoft Excel files.
The current utilities included are:
xlutils.margins
Tools for finding how much of an Excel file contains useful data.
On Nov 10, 1:13 pm, Ronn <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> I have a list:
> suffix = ["aĉ", "ad", "aĵ", "an", "ar"]
>
> and I'm trying to check a word to see if any of the suffixes exist in
> the list for example:
> if word in suffix:
> print "A suffix exist in your word"
>
> wh
> It installs fine for 'just me', so no problem.
It installs for 'just me', but it doesn't work. Just try starting
IDLE, or import the socket module.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Fuzzyman wrote:
> On Nov 9, 7:39 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
>>> Heh. Well it would, except the administrator user doesn't have a
>>> password (purely a VM) and this is unacceptable for runas. :-)
>> There is, unfortunately, no other way to install Python 2.6 on Vista.
>> So yo
On Nov 9, 6:23 pm, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> On Sun, Nov 9, 2008 at 4:14 PM, Fuzzyman <[EMAIL PROTECTED]> wrote:
> > Hello guys,
>
> > Not sure if this is a Windows question or a Python problem...
>
> > I'm trying to install Python 2.6 from the msi, on Windows Vista as an
> > ad
[EMAIL PROTECTED] wrote:
Duncan> If you don't like the tuple then just do the two sorts separately:
lst.sort(key=lambda x: x.imag)
lst.sort(key=lambda x: x.real)
...
I tried that. I could have sworn when I read through the output it hadn't
retained the order of the r
1 - 100 of 136 matches
Mail list logo