> using Python 2.6, can anyone recommend a toolkit or module?
I haven't used it, but it looks like this does what you want:
http://www.dlitz.net/software/pycrypto/
--
Tom Zych / freethin...@pobox.com
Quidquid latine dictum sit, altum viditur.
--
http://mail.python.org/mailman/listinfo/python-list
ded.
Hmm, no, I don't think that will fly. We're stuck with it :(
Fortunately there are work-arounds for the cases that matter, as we've
seen.
Yay Python :)
--
Tom Zych / freethin...@pobox.com
Quidquid latine dictum sit, altum viditur.
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
> Do you realise that "PEP 4000" was Tom Zych being sarcastic? There is no
> PEP 4000:
Eh, well, maybe 10% sarcastic, 90% facetious. Wasn't trying to give
Carl a hard time.
--
Tom Zych / freethin...@pobox.com
Q: I'm having problems with my
liable, but full of surprises. Python is generally low
in surprises. Using "if " is one place where you
do have to think about unintended consequences.
--
Tom Zych / freethin...@pobox.com
Q: I'm having problems with my Windows software. Will you help me?
A: Yes. Go to a DOS prom
k in this, I'm just speculating based
on a bug I had in a C program years ago. I have no idea how CPython
handles these things.
--
Tom Zych / freethin...@pobox.com
Quidquid latine dictum sit, altum viditur.
--
http://mail.python.org/mailman/listinfo/python-list
dude wrote:
>>> f = foo("wow")
...
>>> However, I always get the "module not callable" error.
...
> That was the problem. I was using:
> import ohYeah
To get that error, I think you must have been importing
a module named "foo" as well. Or yo
or filename.endswith('d') or
> filename.endswith('f') or filename.endswith('5')
>
> and then both .hdf and .hdf5 files will get matched.
Score:5, Insightful.
"Oh, I'm sorry, this is Python. Slashdot is room 12A, next door."
--
Tom Zych / freethin..
hereas for character 'ப' is
> printed as it is.
> I am struggling to figure out the issue. Any help would see me on track.
Something similar came up on stackoverflow recently, though that was
with tkinter. Might shed some light.
http://stackoverflow.com/questions/5166488/
--
Tom
depends on whether you care about execution speed or
> development speed.
s/care/care more/. People generally care about both to /some/ extent.
(Probably being over-pedantic again...)
--
Tom Zych / freethin...@pobox.com
"Would you like a lovely fluffy little white rabbit, little girl
y
> object to accept what is in essence a binary file ?
Glancing at the docs, it appears you want to use 'c', 'b', or 'B'
instead of 'u' when creating array.
--
Tom Zych / freethin...@pobox.com
"Would you like a lovely fluffy little white rabbit, l
7;s hugely important
that the web APIs we're building ought to also be Web browse-able and
self-documenting. (and how that's almost entirely not the case at the moment)
I've given the talk to small audiences before but it'd be awesome to give it at
EuroPython.
Anyways, thank
I used pyinstaller quite a bit 3 years ago. I could brush off the cobwebs
and see if I can help if you have not solved it already.
What is the issue you are having?
-Tom
On Jun 21, 2016 16:57, "Larry Martell" wrote:
> Anyone here have any experience with pyinstaller? I am tryin
Thanks. Hope you found a solution to the problem.
On Tue, Aug 20, 2019, 2:51 AM Cameron Simpson wrote:
> Please remember to CC the list.
>
> On 19Aug2019 22:06, Paul St George wrote:
> >On 19/08/2019 14:16, Cameron Simpson wrote:
> [...]
> >>There's a remark on that web page I mentioned that su
ot;'], stdin=p1.stdout, stdout=PIPE)
p3 = Popen(['wc', '-l'], stdin=p2.stdout, stdout=PIPE)
print p3.stdout.read()
which always prints a 0. What am I doing wrong?
Thanks,
Tom
--
http://mail.python.org/mailman/listinfo/python-list
o change this, so modules are treated the same as any other
object in terms of handling []? I admit that this is the only use case for
it, and it's a pretty weak one, but it would be good to be consistent, i
think.
> If this gets a good response, I'll kick it up to python-dev.
+1
t
nd the costs of developing in
>> this language.
>
> What do you consider the IDE for Assembly code or Microcode?
emacs, of course - just as it is for every other language.
tom
--
If you think it's expensive to hire a professional to do the job, wait until
you hire an amateur. -
types thoughout.
Also, we can exploit the closureness of new_f to avoid a dict lookup:
f_implementations = methods[f.func_name]
def new_f(*args, **kwds):
types = tuple(type(arg) for arg in args)
return f_implementations[types](*args, **kwds)
tom
--
double mashed, future mashed, millennium mashed; man it was mashed
--
http://mail.python.org/mailman/listinfo/python-list
not working correctly is that the entire program
> isn't sorting the data.
>
> If I run the program and get a score of, say, 6789, then when I add my name,
> nothing is entered. I have changed the clause that deletes (pops) the last
> array if the array count is 6 and seen w
's better.
What? How exactly is that pure? "from x import y" is bletcherosity
incarnate! You should do:
import python
s = python.str(5)
# etc
And don't let me see you importing like that again!
tom
--
90% mental, 25% effort, 8% mathematics
--
http://mail.python.org/mailman/listinfo/python-list
u can get a modest speedup by taking out the
explicit test for the presence of the lock, and just rely on getting an
AttributeError from self._sync_lock.acquire() if it's not there; you could
then install the lock in the except suite.
tom
--
90% mental, 25% effort, 8% mathematics
--
http://mail.python.org/mailman/listinfo/python-list
tation. Have a read of this:
http://www.cl.cam.ac.uk/~mgk25/iso-time.html
Which explains that you can write things like 2005-W20 to mean the 20th
week of 2005, and ISO won't send you to hell for it.
tom
--
Brace yourself for an engulfing, cowardly autotroph! I want your photosynthetic
app
e the look
of it, but it is a standard, so i'd suggest using it.
Bear in mind that if you don't, a black-helicopter-load of blue-helmeted
goons to come and apply the rubber hose argument to you.
tom
--
On two occasions I have been asked [by members of Parliament], 'Pray, Mr.
Babb
ave
to handle rebinding of members on individual objects with a copy-on-write
policy applied to this table. This is fairly straightforward to do, but
i'm not going to do it here; the result would be something very close to
C++-style vtables, but supporting python's object model.
Did that make any sense?
Speaking of __slots__, can you use slots for methods? Does it speed up
lookup at all?
tom
--
Children are born true scientists. -- R. Buckminster Fuller
--
http://mail.python.org/mailman/listinfo/python-list
pled. So I delved a bit into the language, and found some sources of
> syntactic sugar that I could use, and this is the result:
>
> http://www.pick.ucam.org/~ptc24/yvfc.html
It's this sort of thing that makes it clear beyond all shadow of a doubt
that Cambridge should be razed to the
port += is mutable (integers, for
example), how about saying that if the recipient of a += doesn't have an
__iadd__ method, execution falls back to:
a = a + b
I say 'a + b', because that means we invoke __add__ and __radd__
appropriately; indeed, the __add__ vs __radd__ thing is
hat, but they've skipped the tiresome 3.0.x early release
teething phase and gone straight to the mature, solid-as-a-rock middle
releases! God, i love python!
Hey, and it's still got lambdas! WE WON!!!
tom
--
I'm not quite sure how that works but I like it ...
--
http://mail.python.org/mailman/listinfo/python-list
lly pretty easily, but anyway,
> Python exceptions are much less expensive than Java exceptions.
Really? How come? What is it that stops java using the same technique as
python? There's been quite a lot of work put into making java fast, so
it'd be interesting if we had something they didn&
ys less than a longer dict,
regardless of the elements.
In code:
def dict_cmp_alternative(a, b):
diff = cmp(len(a), len(b))
if (diff != 0):
return diff
ka = sorted(a.keys())
kb = sorted(b.keys())
diff = cmp(ka, kb)
if (diff != 0):
On Tue, 4 Oct 2005, Robert Kern wrote:
> Tom Anderson wrote:
>> On Tue, 4 Oct 2005, Robert Kern wrote:
>>
>>> Antoon Pardon wrote:
>>>
>>>> Anyone a reference?
>>>
>>> The function dict_compare in dictobject.c .
>>
>> Well
mpiler just throw in a default 'return None'
epilogue, with routes there from every code path, even when it's not
needed? If so, why?
tom
--
News flash: there's no deep meaning or hidden message BECAUSE DAVID LYNCH IS
INSANE
--
http://mail.python.org/mailman/listinfo/python-list
tegers (small positive ones are cached).
So python doesn't use the old SmallTalk 80 SmallInteger hack, or similar?
Fair enough - the performance gain is nice, but the extra complexity would
be a huge pain, i imagine.
tom
--
Fitter, Happier, More Productive.
--
http://mail.python.org/mailman/listinfo/python-list
ctively transcend, becoming, well, i don't
know. Nonlocal variables or something.
For some reason, this makes me think of Stephen Baxter novels. And a
little of H. P. Lovecraft. I guess the point is that you shouldn't delve
too deeply into the mysteries of functional programming if you wish to
retain your humanity.
tom
--
Orange paint menace
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, 11 Oct 2005, Raymond Hettinger wrote:
> [Tom Anderson]:
>
>> What puzzles me, though, are bytecodes 17, 39 and 42 - surely these
>> aren't reachable? Does the compiler just throw in a default 'return
>> None' epilogue, with routes there from
On Wed, 12 Oct 2005, Jorgen Grahn wrote:
> On Mon, 10 Oct 2005 20:37:03 +0100, Tom Anderson <[EMAIL PROTECTED]> wrote:
>> On Mon, 10 Oct 2005, it was written:
> ...
>>> There is no way you can avoid making garbage. Python conses everything,
>>> even inte
On Mon, 10 Oct 2005, it was written:
> Tom Anderson <[EMAIL PROTECTED]> writes:
>
>> Has anyone looked into using a real GC for python? I realise it would
>> be a lot more complexity in the interpreter itself, but it would be
>> faster, more reliable, and
On Tue, 11 Oct 2005, Alex Martelli wrote:
> Tom Anderson <[EMAIL PROTECTED]> wrote:
> ...
>> Has anyone looked into using a real GC for python? I realise it would be a
>
> If you mean mark-and-sweep, with generational twists,
Yes, more or less.
> that's what
On Tue, 10 Oct 2005, it was written:
> Tom Anderson <[EMAIL PROTECTED]> writes:
>
>> Okay, a crack at a definition: a closure is a function in which some of
>> the variable names refer to variables outside the function.
>
> That's misleading,
You're
;operating with", op, "on", arg
...
>>> o = Operable()
>>> o <~> "foo"
operating with <~> on foo
I'm sure that would do *wonders* for program readability :).
tom
--
NOW ALL ASS-KICKING UNTIL THE END
--
http://mail.python.org/mailman/listinfo/python-list
request is built in the
__init__ method, here :
SELECT r.name FROM planes AS r WHERE r.speed > 500
That, sir, is absolute genius.
Evil as fuck, but still absolute genius.
tom
--
NOW ALL ASS-KICKING UNTIL THE END--
http://mail.python.org/mailman/listinfo/python-list
thon, but that's because i know
python and not ruby.
tom
--
NOW ALL ASS-KICKING UNTIL THE END
--
http://mail.python.org/mailman/listinfo/python-list
inly look it up as soon as
> I'm done writing this.
You won't like it. Give yourself another 5-10 years, and you might start
to find it strangely intriguing.
> I've never given Perl a shot. It was another language I considered
> learning, but my father's friend told
, but Scheme definitely
looks like a winner to me - single namespace, generally cleaned-up
language and library, etc.
tom
--
For one thing at least is almost certain about the future, namely, that very
much of it will be such as we should call incredible. -- Olaf Stapledon
--
http://mail.python.org/mailman/listinfo/python-list
+1 QOTW
> I love this place.
Someone should really try posting a similar question on c.l.perl and
seeing how they react ...
tom
--
Transform your language.
--
http://mail.python.org/mailman/listinfo/python-list
def __str__(self): # not necessary, but handy
return "<<" + str(self.val) + ">>"
>>> temp = var()
>>> temp.value = 5
>>> list = [temp]
>>> temp.value = 6
>>> list
[<<6>>]
This is more heavyw
any reference to names or variables or
whatnot, then introduce names, namespaces and references as tools for
working with objects? You go on to explain this clearly, but it's a bit of
a confusing way to start!
tom
PS Sorry to be following up to a message other than the one i'm actually
olutions, coming at the problem from
different angles, but the end of it is more or less here:
http://groups.google.co.uk/group/comp.lang.python/msg/0832db53bd2700db
Looking at the code now, i can see a couple of points where i could tweak
my flatten even more, but i think the few microseconds it might save
aren't really worth it!
tom
--
It is a laborious madness, and an impoverishing one, the madness of
composing vast books. -- Jorge Luis Borges
--
http://mail.python.org/mailman/listinfo/python-list
it says 'There are no products matching your
selection'.
What you want is:
if (ST_zeroMatch in self.webpg) or (ST_zeroMatch2 in self.webpg):
Or something like that.
You say that you have a single-threaded version of this that works;
presumably, you have a working version of this logic in the
h the same version of the compiler, but it isn't
> installed.
>
> C:\Downloads\Python\psychopg\psycopg2-2.0b5\psycopg2-2.0b5>pause
> Press any key to continue . . ."
>
> What does it mean ? What am I supposed to do?
>
> Thanks,
>
> Zlatko
Use the windows
the floor.
tom
--
power to the people and the beats--
http://mail.python.org/mailman/listinfo/python-list
renderer object, which would do the
rendering (directly, rather than by generating code). The point is that
the renderer could be in another process, provided you have a way to move
the scene graph from one process to another - the pickle module, for
example, or a custom serialisation format if you
70s VW Beetle - it's been going for ever, but it's still rock solid,
even if it does look a bit naff. Also, hippies love it.
tom
--
[of Muholland Drive] Cancer is pretty ingenious too, but its best to
avoid. -- Tex
--
http://mail.python.org/mailman/listinfo/python-list
lly got into using non-greedy
quantifiers (i use them from time to time, but hardly ever feel the need
for them), so my instinct would have been to write this as:
>>> fooRe = re.compile(r"foo[^(]*\(([^)]*)\)")
Is there any reason to use one over the other?
>>>&
ich that i can see, but it is also colocated at the same
ISP as urchin (chiark and urchin are sort of mirror images of each other
in many ways) - is this a case of 'Norwich by association'?
tom
--
Exceptions say, there was a problem. Someone must deal with it. If you
won't deal
ion of this exercise would be to implement an A* search:
http://en.wikipedia.org/wiki/A-star_search_algorithm
Which might be quicker than a blind breadth-first.
tom
--
Exceptions say, there was a problem. Someone must deal with it. If you
won't deal with it, I'll find someone who will.
--
http://mail.python.org/mailman/listinfo/python-list
ch more:
http://www.pasteur.fr/recherche/unites/sis/Pise/
But i have no idea if it's of any use to you - it was designed for
bioinformatics programs, and might not be easily adaptable to other tasks.
Old-enough-to-remember-the-push-hype-ly y'rs,
tom
--
Exceptions say, there was a pro
.count(1))
And we're halfway to looking like perl already! Perhaps a more pythonic
thing would be to define a "then" operator:
all_lines = file1 then file2 then file3
candidate_primes = (2,) then (1+2*i for i in itertools.count(1))
That looks quite nice. The special method would be __then__, of course.
tom
--
if you can't beat them, build them
--
http://mail.python.org/mailman/listinfo/python-list
nical(key)))
for key in sorted(self.nexts.keys())) + "])"
As i'm sure you'll agree, code that combines a complete absence of clarity
with abject lack of runtime efficiency. Oh, and i haven't tested it
properly.
tom
--
if you can't beat them, build them
--
http://mail.python.org/mailman/listinfo/python-list
On Sun, 13 Nov 2005, Reinhold Birkenfeld wrote:
> [EMAIL PROTECTED] wrote:
>
>> Tom Anderson:
>
>>> And we're halfway to looking like perl already! Perhaps a more
>>> pythonic thing would be to define a "then" operator:
>>>
>>&
will make future
changes - like interaction between the two parallel execution streams -
colossally harder.
tom
--
Remember when we said there was no future? Well, this is it.
--
http://mail.python.org/mailman/listinfo/python-list
.
Right, but you have exactly the same problem with separate processes -
except that with processes, having that richness of interaction is so
hard, that you'll probably never do it in the first place!
tom
--
science fiction, old TV shows, sports, food, New York City topography,
and golden age hiphop
--
http://mail.python.org/mailman/listinfo/python-list
f you want more details on this. To be honest, i'd suggest using a
proper cubic spline, unless you have specific problems with it.
tom
--
... a tale for which the world is not yet prepared
--
http://mail.python.org/mailman/listinfo/python-list
we call that the "Larosa-Foord ordered mapping"? Then it
sounds like some kind of rocket science discrete mathematics stuff, which
(a) is cool and (b) will make Perl programmers feel even more inadequate
when faced with the towering intellectual might of Python. Them and their
Scwartzian
On Mon, 21 Nov 2005, Tom Anderson wrote:
> On Sun, 20 Nov 2005, Warren Francis wrote:
>
>> Basically, I'd like to specify a curved path of an object through space. 3D
>> space would be wonderful, but I could jimmy-rig something if I could just
>> get 2D... Are bez
future
if hasattr(x, "__getitem__"):
return _listiterator(x)
if type(x) == types.FileType:
return _fileiterator(x) # you can imagine the implementation of
this
# insert more tests for specific types here as you like
raise Ty
u = u + du
return trace
tuples2points is a helper function which turns your coordinates from a
list of tuples (really, an iterable of length-2 iterables) to a list of
Points. The alternative way of doing it is something like:
curve = NaturalCubicSpline()
for x, y in knot_coords:
Jeff Epler's proposal to use unicode operators would synergise most
excellently with this, allowing python to finally reach, and even surpass,
the level of expressiveness found in languages such as perl, APL and
INTERCAL.
tom
--
I DO IT WRONG!!!
--
http://mail.python.org/mailman/listinfo/python-list
\u211D and relatives would also be a candidate
for this treatment.
And for those of you out there who are laughing at this, i'd point out
that Perl IS ACTUALLY DOING THIS.
tom
--
I DO IT WRONG!!!
--
http://mail.python.org/mailman/listinfo/python-list
at it was.
I'm not a managed property expert (although there's a lovely studio in
Bayswater you might be interested in), but how does this stop you doing:
my_odict.sequence[0] = Shrubbery()
Which would break the odict good and hard.
tom
--
When I see a man on a bicycle I have h
ntegrity.
I haven't actually tried to write such a beast, so i don't know if this is
either of possible and straightforward.
tom
--
When I see a man on a bicycle I have hope for the human race. --
H. G. Wells
--
http://mail.python.org/mailman/listinfo/python-list
elpful probably thought of a "sorted
> dictionary" rather than an "ordered dictionary."
Exactly.
Python could also do with a sorted dict, like binary tree or something,
but that's another story.
tom
--
When I see a man on a bicycle I have hope for the human race. --
H. G. Wells
--
http://mail.python.org/mailman/listinfo/python-list
unique) list. Sometimes it is also called a
> "sequence"
Maybe we should call it a 'sequenced dictionary' to fit better with
pythonic terminology?
tom
--
YOU HAVE NO CHANCE TO ARRIVE MAKE ALTERNATIVE TRAVEL ARRANGEMENTS. --
Robin May
--
http://mail.python.org/mailman/listinfo/python-list
ich seems elegant. However, it does strike me as rather unpythonic; it's
trying to cram a lot of functionality in an unexpected combination into
one place. Sparse is better than dense and all that. I guess the thing to
do is to try both out and see which users prefer.
tom
--
YOU HAVE NO CHANCE TO ARRIVE MAKE ALTERNATIVE TRAVEL ARRANGEMENTS. --
Robin May
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 23 Nov 2005, Christoph Zwerschke wrote:
> Tom Anderson wrote:
>
>>> I think it would be probably the best to hide the keys list from the
>>> public, but to provide list methods for reordering them (sorting, slicing
>>> etc.).
>>
>> one with u
style-license. That's not to say that the article isn't useful
and/or balanced, but it's something to bear in mind while reading it.
tom
--
Science runs with us, making us Gods.
--
http://mail.python.org/mailman/listinfo/python-list
is. Either the
copyright belongs to you, in which case you're fine, or to your employer,
in which case you don't have the right to license it, so its moot.
> Let's keep the broader issue of which license will bring about the fall
> of Western Civilization
You mean the GPL?
> on the other thread.
Oops!
tom
--
Science runs with us, making us Gods.
--
http://mail.python.org/mailman/listinfo/python-list
cmp(a, b).
Is this any good? Would it be any use? Should this be added to itertools?
tom
--
I content myself with the Speculative part [...], I care not for the
Practick. I seldom bring any thing to use, 'tis not my way. Knowledge
is my ultimate end. -- Sir Nicholas Gimcrac
And Only Once. Also, even though the
above idiom becomes possible, it leads to futile remove-reinsert cycles in
the dict bit, which it would be nice to avoid.
Thoughts?
tom
--
I content myself with the Speculative part [...], I care not for the
Practick. I seldom bring any thing to use,
On Fri, 25 Nov 2005, Christoph Zwerschke wrote:
> Tom Anderson wrote:
>
>> True, but that's not exactly rocket science. I think the rules governing
>> when your [] acts like a dict [] and when it acts like a list [] are vastly
>> more complex than the name of one at
falls down - i suspect that what's happening here is
that dummy has a trailing newline, and item doesn't, so although they look
very similar, they're not the same string, so the comparison comes out
false. Try throwing in that rstrip at the head of the loop and see if it
fixes it.
HTH.
tom
--
Gotta treat 'em mean to make 'em scream.
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 25 Nov 2005, Roy Smith wrote:
> Tom Anderson <[EMAIL PROTECTED]> wrote:
>
>> It's modelled after the way cmp treats lists - if a and b are lists,
>> icmp(iter(a), iter(b)) should always be the same as cmp(a, b).
>>
>> Is this any good? Wou
On Sat, 26 Nov 2005, Diez B. Roggisch wrote:
> Tom Anderson wrote:
>
>> Is this any good? Would it be any use? Should this be added to itertools?
>
> Whilst not a total itertools-expert myself, I have one little objection
> with this: the comparison won't let me kno
On Sat, 26 Nov 2005, Peter Hansen wrote:
> Tom Anderson wrote:
>> On Sat, 26 Nov 2005, Chris wrote:
>>
>>> if item[0:1]=="-":
>>
>> item[0:1] seems a rather baroque way of writing item[0]! I'd actually
>> suggest writing this line l
e is sometimes forced to do, is also slower and
more error-prone.
So, could someone explain what's so evil about tabs?
tom
--
Space Travel is Another Word for Love!
--
http://mail.python.org/mailman/listinfo/python-list
if there's a further correlation between preferring spaces to
tabs and the GPL to the BSDL ...
tom
Lexicographical PS: 'tabophobia' is, apparently, fear of the
neurodegenerative disorder tabes dorsalis.
--
3118110161 Pies--
http://mail.python.org/mailman/listinfo/python-list
uage, and a very fundamental one, at
that. Python without structuring by indentation *is not* python.
Which is not to say that it's a bad idea - if it really is scaring off
potential converts, then a dumbed-down dialect of python which uses curly
brackets and semicolons might be a usef
itext:
>>> import os
>>> os.path.splitext("C:\Pictures\MyDocs\test.txt")
('C:\\Pictures\\MyDocs\test', '.txt')
>>> os.path.splitext("C:\Pictures\MyDocs\test.txt")[1]
'.txt'
>>>
> I would like that to work
d, non-raw string works with
> splitext()
DOH. Yes, my path's got a tab in it, hasn't it!
tom
--
Women are monsters, men are clueless, everyone fights and no-one ever
wins. -- cleanskies
--
http://mail.python.org/mailman/listinfo/python-list
uation
here, poor thing.
Incidentally, for those who haven't come across CP_ACP before, it's not
yet another character encoding, it's a pseudovalue which means 'the
system's current default character set'.
tom
--
Women are monsters, men are clueless, everyone fights and no-one ever
wins. -- cleanskies--
http://mail.python.org/mailman/listinfo/python-list
parrot.com/~pdw/Mail-RFC822-Address.html
For a level to which i am not prepared to stoop.
I hear the email-sig are open to adding a validation function to the email
package, if a satisfactory one can be written; i would definitely support
their doing that.
tom
--
Women are monsters, men ar
sock.close()
return ok
A potential problem with this is that in the worst case, you'll be
spending a little over ten seconds on each socket; if you have a lot of
sockets, that might mean you're not getting through them fast enough.
There are two ways round this: handle seve
On Fri, 9 Dec 2005, Peter Hansen wrote:
> Tom Anderson wrote:
>> On Fri, 9 Dec 2005, Sybren Stuvel wrote:
>>> You probably mean "really a ping, just not an ICMP echo request".
>>
>> What's a real ping, if not an ICMP echo request? That's pret
On Fri, 9 Dec 2005, "Martin v. Löwis" wrote:
Tom Anderson wrote:
Isn't the key thing that Windows is applying a non-roundtrippable
character encoding?
This is a fact, but it is not a key thing. Of course Windows is applying
a non-roundtrippable character encoding. What e
On Sat, 10 Dec 2005, Ben Finney wrote:
> Tom Anderson <[EMAIL PROTECTED]> wrote:
>
>> A hoary old chestnut this - any advice on how to syntactically
>> validate an email address?
>
> Yes: Don't.
>
>http://www.apps.ietf.org/rfc/rfc3696.html#sec-3>
(like emacs).
>
> Found it! VIM!
ED IS THE STANDARD TEXT EDITOR.
tom
--
Argumentative and pedantic, oh, yes. Although it's properly called
"correct" -- Huge
--
http://mail.python.org/mailman/listinfo/python-list
erscore are not imported by "from module import *".
However I can't find any indication that "from module import _name"
should work this way.
Thanks
Tom
--
http://mail.python.org/mailman/listinfo/python-list
ay to handle that requirement.
-Tom
--
To respond by email, replace "somewhere" with "astro" in the
return address.
--
http://mail.python.org/mailman/listinfo/python-list
Just a general question.
It seems in COM late binding is something that should be avoided if possible.
Because python seems to be really good at doing thing dynamically I'm
wondering why no one has figured out how to make the functionality in
makepy fire automagically when you need it.
For exam
Wow Thanks I didn't even know about the gencache that's is exactly
what I was hoping for.
On Fri, 28 Jan 2005 09:06:15 -, Tim Golden
<[EMAIL PROTECTED]> wrote:
> [Tom Willis]
>
> | It seems in COM late binding is something that should be
> | avoided if poss
into a suitable format for the send
method?
Thanks,
Tom
--
http://mail.python.org/mailman/listinfo/python-list
On Friday 04 February 2005 18:27, Tom Brown wrote:
> Hi,
>
> I have what seems to be a simple problem. But I can not for the life of me
> find a way to send an integer over a socket. The send method will only
> accept strings. Here is what I am trying to do:
>
> testme
101 - 200 of 667 matches
Mail list logo