I use Eclipse (www.eclipse.org) with the pydev plugin
(pydev.sourceforge.net). Eclipse is written in Java (you need the JVM to run
it, and a decent amount of memory) and was originally intended for Java
development (that's what most of the docs reflect). It now has plugins
available for other langu
It depends a lot on what your prior programming experience in other
languages is.
I have a large amount of prior programming experience, and I found "Learning
Python" very good. The "Python Cookbook" (Martelli et. al., also O'Reilly)
is very useful for learning the idioms.
-Original Message
Try right-clicking on the shortcut, select properties, and change the "start
in" value.
Matthew
P.S. When posting to the list, please use plain text format.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of learner404
Sent: 15 June 20
Install the Firefox extension called "Live HTTP headers", and look at the
"Generator" tab. This appears to be what you want.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Peter Jessop
Sent: 07 June 2006 11:00
To: tutor@python.org
Subject: [Tutor] (OT) M
>> Try to rephrase that question. I don't think I was the only one not
understanding what you are asking?
Try to rephrase that response. I'm sure that you understand the double
negative in the second sentence, but many who speak English as a second
language (including, possibly, the original poste
Thanks Kent, I liked the generator solution (I knew there had to be
something like that).
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Kent Johnson
Sent: 09 May 2006 17:54
Cc: tutor@python.org
Subject: Re: [Tutor] Summing part of a list
<< snip >>
Hm
2 passes of the original list).
Surely there is a neater way.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Matthew Webber
Sent: 09 May 2006 17:22
To: tutor@python.org
Subject: [Tutor] Summing part of a list
I have a list that looks a bit like this -
I have a list that looks a bit like this -
[(u'gbr', 30505), (u'fra', 476), (u'ita', 364), (u'ger', 299),
(u'fin', 6), (u'ven', 6), (u'chi', 3), (u'hun', 3), (u'mar', 3),
(u'lux', 2), (u'smo', 2), (u'tch', 2), (u'aho', 1), (u'ber', 1)]
The list items are tuples, the first item of which is a coun
This has got to be trivial, but I can't find the answer ... I want to stop
execution of my main script half way through. This is just for debugging -
the code in the bottom half of the script generates a whole lot of output
that I don't want. Inserting "break" or "return" doesn't work, but somethin
As a side note, remember that that xor-ing a key with a message is trivial
to break (it's just a variation on the Vigenere cipher first published in
1568). So don't use if for any real applications.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Steve Nel
This works for me under Python 2.4 -
import math
math.sqrt(4)
When you state "Sqrt is listed as always available", where does it say that?
For future problem reports, let us know which Python release you are
running.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
These sound like homework questions, in which case it would not be right for
us to just give you the answer (and it would not be right for you to ask for
it).
If you can show us what you have tried so far, maybe we can give you some
hints ...
From: [EMAIL
>> The GIL prevents Python from effectively running multiple threads on
multiple processors.
This statement is slightly misleading. You can run multiple threads on a
multi-processor system quite effectively, the limitation of the GIL is
simply that you can typically utilize only one processor at
13 matches
Mail list logo