Thanks to everyone who posted comments or put some thought into this
problem.
I should have been more specific with what I want to do, from your
comments the general case of this problem, while I hate to say
impossible, is way more trouble than it's worth.
By modified I meant that the dictionary
Dave Hansen <[EMAIL PROTECTED]> wrote:
...
> >Google also has technical offices in the New York area.
>
> City? . I moved out of the 'burbs of Minneapolis about 6
> years ago, not because of the weather, but because it was getting too
> crowded for me.
Yep, city -- specifically on Broadway,
AJL wrote:
> How fast does this run?
>
> a = set(file('PSP320.dat'))
> b = set(file('CBR319.dat'))
> file('PSP-CBR.dat', 'w').writelines(a.difference(b))
Turning PSP into a set takes extra time, consumes unnecessary memory,
eliminates duplicates (possibly a bad thing), and loses the origin
On Fri, 13 Jan 2006 03:12:00 +, Steve Holden <[EMAIL PROTECTED]> wrote:
[...]
>Note to nitpickers
>--
>Please note that I *am* oversimplifying here, and the nitpickers will
>undoubtedly find many threadsworth of valuable material here. The point
>is to develop an understanding
Andy Leszczynski <[EMAIL PROTECTED]> writes:
> I have a specific question, anybody is familiar?
Only the omniscient, prescient or telepathic can be familiar with your
question before you ask it.
http://www.catb.org/~esr/faqs/smart-questions.html>
--
\ "One of the most important thing
Diez B. Roggisch wrote:
> Mark Engstrom wrote:
>
>
>>Does anyone have a recommendation on the best AJAX python module?
>
>
> If it is the best is obviously an arguable assertion - but I very much like
> MochiKit from Bob Ippolito.
>
> http://www.mochikit.org/
I heartily second the recommendat
[EMAIL PROTECTED]
> It's important that I can read the contents of the dict without
> flagging it as modified, but I want it to set the flag the moment I add
> a new element or alter an existing one (the values in the dict are
> mutable), this is what makes it difficult. Because the values are
> mu
[Paul Rubin]
> ISTR there's also a plan to eliminate map in Python 3.0 in favor of
> list comprehensions. That would get rid of the possibility of using
> map(None...) instead of izip_longest. This needs to be thought through.
Not to fear. If map() eventually loses its built-in status, it will
[EMAIL PROTECTED] wrote:
> "Fredrik Lundh" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>
>>[EMAIL PROTECTED] wrote:
>>
>>
from the find_module documentation:
find_module( name[, path])
[...]
>
> Reading more carefully is always useful. But that does
I have a specific question, anybody is familiar?
A.
--
http://mail.python.org/mailman/listinfo/python-list
Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
> Sion Arrowsmith <[EMAIL PROTECTED]> wrote:
> > sum(...)
> > sum(sequence, start=0) -> value
> >
> > If you're using sum() as a 1-level flatten you need to give it
> > start=[].
>
> Except if you are trying to sum arrays of strings...
>
> >>
Hi Folks,
Is it possible to create a shortcut to a file in Python? I need to do
this in both win32 and OSX. I've already got it covered in Linux by
system(ln...).
Thanks,
Ron Griswold
Character TD
R!OT Pictures
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
richard wrote:
> I'm just dealing with a Roundup bug report in which it's pointed out that
> time.strftime() doesn't produce RFC2822-compliant date strings when in a
> locale other than "C".
While it doesn't fix strftime() (though a change to the docs might do
that ), using email.Utils.formatdate
Mike wrote:
> Hi,
>
> I have two machines. A python program on machine 1 needs to make a
> python call to a method in machine 2. What is the most efficient / fast
> / programmer friendly way to do it?
>
> - XML-RPC?
> - Http Call?
use Pyro
http://pyro.sourceforge.net
--Irmen
--
http://mail.pyt
[EMAIL PROTECTED] writes:
> Anyone has any idea on why is there no post/pre increment operators in
> python ?
For lots of good reasons.
> Although the statement:
> ++j
> works but does nothing
So does --j. They both parse as a value with two unary operators
applied to it in succession: +(+(j)
David Murmann wrote:
> Robin Becker schrieb:
> > # New attempts:
> > from itertools import imap
> > def flatten4(x, y):
> > '''D Murman'''
> > l = []
> > list(imap(l.extend, izip(x, y)))
> > return l
> >
> >
> > from Tkinter import _flatten
> > def flatten5(x, y):
> > '''D Murm
[EMAIL PROTECTED] wrote:
> The reason is that I am still trying to figure out
> what a value is myself. Do all objects have values?
Yes.
> If
> not which do and which don't? What's the value of int(1)?
> An object? Some otherwise unreachable thing that
> represents the abstract concept of the
David> atExitFunc is called when the main thread terminates, rather than
David> when the process exits. The atexit documentation contains
David> several warnings, but nothing about this. Is this a bug?
This might be a bug, but I can't see how it can be in atexit. Atexit just
regist
201 - 218 of 218 matches
Mail list logo