___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Warning: this is going to look *a lot* better if you view it in a
fixed-width font so things line up properly.
Both functions apply a function to a list of values, but they do so in
different ways.
filter() applies a function to each element of a list in turn, returning
a new list
-- Forwarded message --
From: [EMAIL PROTECTED]
Date: Wed, Sep 24, 2008 at 4:14 PM
Subject: The results of your email commands
To: [EMAIL PROTECTED]
The results of your email command are provided below. Attached is your
original message.
- Results:
Ignoring non-text/plain
-Original Message-
Hi Pythonistas,
I have a large dictionary of dictionary (50,000+ keys) which
has a structure as follows:
DoD = {
'flintstones' : {
'husband' : fred,
'pal' : barney,
'income': 500,
},
'jetsons' : {
Steve,
Thanks for your reply.
Yes. The python program is or was keeping the file open.. This is
failing at the commit stage of the program, in checking in the svn data.
So how do I go about fixing this?
Any help and insight is appreciated.
Herold
Title: Signature.html
I'm looking at a GUI application that I hope to modify in the next few
weeks. When it's executed the expected GUI appears along with a DOS
window. Occasionally, I think, I've seen something put in the DOS
window. How do I stop it from appearing and how do I find why it's
On Wed, Sep 24, 2008 at 10:36 AM, Wayne Watson [EMAIL PROTECTED]
wrote:
I'm looking at a GUI application that I hope to modify in the next few
weeks. When it's executed the expected GUI appears along with a DOS window.
Occasionally, I think, I've seen something put in the DOS window. How do
Wayne Watson ha scritto:
I'm looking at a GUI application that I hope to modify in the next few
weeks. When it's executed the expected GUI appears along with a DOS
window. Occasionally, I think, I've seen something put in the DOS
window. How do I stop it from appearing and how do I find why
On Wed, Sep 24, 2008 at 11:36 AM, Wayne Watson
[EMAIL PROTECTED] wrote:
I'm looking at a GUI application that I hope to modify in the next few
weeks. When it's executed the expected GUI appears along with a DOS window.
Occasionally, I think, I've seen something put in the DOS window. How do I
I'm looking at a GUI application that I hope to modify in the next few
weeks. When it's executed the expected GUI appears along with a DOS window.
Occasionally, I think, I've seen something put in the DOS window. How do I
stop it from appearing and how do I find why it's used?
If you don't
Title: Signature.html
Well, the responses above pretty well clear that up. As far as I can
tell, the program uses print exactly once. At this point, I have no
idea why. It looks like it's bring to the attention of the user that
something has gone wrong finding a centroid. However, the message
Wayne Watson [EMAIL PROTECTED] wrote
When it's executed the expected GUI appears along with
a DOS window. Occasionally, I think, I've seen something
put in the DOS window.
The DOS window is the XP Command prompt execution
environment as used by the python interpreter,. Its where
the stdin,
Hello Herold!
I have three ideas what you could do:
- Try to run the script on the server. Maybe even take NFS down while
running the script. Or as a variation, run the script in a directory
which is on the local disk. It seems the script is confused by some
specific behavior of NFS. (There
I'm trying to force the user agent in a python login script... My
question is what are the possible user agents I can specify and how do I
print the user agent at the end of the script so I know that it was
accurately saved. Here is the first bit of my code.
Any suggestions?
thx,
JJ
==
jeremiah [EMAIL PROTECTED] wrote
I'm trying to force the user agent in a python login script...
Might I ask why?
It should never be necessary and is extremely user hostile.
Especially given that many modern browsers are capable
of emulating the troublesome ones - ie IE! And future versions
On Wed, Sep 24, 2008 at 7:55 PM, Alan Gauld [EMAIL PROTECTED] wrote:
jeremiah [EMAIL PROTECTED] wrote
I'm trying to force the user agent in a python login script...
Might I ask why?
It should never be necessary and is extremely user hostile.
Especially given that many modern browsers are
On Wed, Sep 24, 2008 at 6:55 PM, jeremiah
[EMAIL PROTECTED] wrote:
I'm trying to force the user agent in a python login script... My
question is what are the possible user agents I can specify
Here is a rather long list:
http://www.user-agents.org/
but presumably there is a particular browser
17 matches
Mail list logo