Dennis Lee Bieber wrote:
On Mon, 03 Jan 2005 19:14:54 -0500, Steve Holden <[EMAIL PROTECTED]>
declaimed the following in comp.lang.python:
Plus the builders quite routinely ask suppliers for things like "a meter
of two (inches) by four (inches)". They don;t care that they're
ython
print """Content-Type: text/plain
Hello, world"""
and see if you can call it from a web browser.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 4
"""Content-Type: text/plain
Hello, world"""
and see if you can call it from a web browser.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
-
7;
9: 5 u'Scott David Daniels'
10: 5 u'Paul Prescod'
11: 5 u'Michele Simionato'
12: 5 u'Mark Nenadov'
13: 5 u'Jeff Bauer'
14: 5 u'Brent Burley'
....but each still gets ONE free copy...!-)
And I *still* think we deserve to be t
l or acceptable, and having come to jeer they remain to
whitewash, to use an analogy from "Tom Sawyer" [1].
All in all a very pleasant change from "F*&% off and die, noob".
regards
Steve
[1]: http://www.cliffsnotes.com/WileyCDA/LitNote/id-2,pageNum-10.html
--
Steve Holden
tle time to see how the existing projects go before we can
evaluate the success or failure of the process (at least on the existing
projects, whose outcomes may or may not be related to the grant process).
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming htt
l expansion sequence (assuming Unix-like shell
environments), as in:
cd `myprogram.py`
and then if your program outputs the path to a directory your shell's
current working directory will be chaged as you require.
there's-always-a-way-ly y'rs - steve
--
Steve Holden h
n we see some numbers to support this "impression"?
--
It's a man's life in a Python Programming Association.
Since I'm taking issue with you, I will end by gently pointing out that
there's a substantial minority (? - my impression) of people who might
find your tag line (whic
Of course, I have no proof for such an assertion.
[and on, and on, and on ...]
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
ny hosted sites.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
to
do the job faster if I'd been using Python at the time...
Or even used cut(1) from the command line.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://
Can somebody there to point me any good commercial applications
developed using python ?
Yet another game but it's a huge one with a massive DB behind it.
http://www.eve-online.com
--
Steve Hughes
--
http://mail.python.org/mailman/listinfo/python-list
rses?
I get the same thing under Windows: _curses is the compiled extension
supporting the curses library, so I must presume that isn't supported by
default on Windows.
No problems under Cygwin or on Linux.
Googling for "python curses windows" might provide a few point
Bulba! wrote:
On Thu, 06 Jan 2005 09:42:42 -0500, Steve Holden <[EMAIL PROTECTED]>
wrote:
You see, I'm not disagreeing with you that your model applies
_where it applies_. I only disagree that it applies in face of
stronger forces. Now what kind of forces is dominant in
most frequen
ical analysis that I didn't want to leave unsharpened.
The fact that Python's existing tokenizer doesn't allow multi-character
tokens beginning with a dot after a digit (roughly speaking) is what
makes the whole syntax proposal infeasibly hard to adapt to.
regards
Steve
--
Steve Ho
def handle_write(self):
sent = self.send(self.buffer)
self.buffer = self.buffer[sent:]
if len(self.buffer) == 0:
self.close()
self.server.decrement()
server = http_server('', 8080)
asyncore.loop(timeout=4.0)
regards
Steve
--
Steve Holden
he most enthusiastic evangelical approach to
functional programming I've ever heard :-)
Perhaps what we really need is a good Lisp subsystem for Python?
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC
more work done. So the author's "MHz plateau" graph isn't all
Moore's law breaking down, it is the result of Intel's marketing dept breaking
down.
You may be right, but I agree with the thrust of the article that multicore
looks to be the new in thing at the moment.
Steve
--
http://mail.python.org/mailman/listinfo/python-list
quantum in origin, and not just an artifact of
classical mechanics applied to clumsy measurement.
You don't convince me.
Also, I think you probably accidentally posted to the wrong newsgroup.
Steve
--
http://mail.python.org/mailman/listinfo/python-list
upted if that internal data was modified by malicious code. If tuples
were mutable (lists) then it would be necessary to return a copy instead.
Also, do you say 'too-ple' or 'chu-ple' - if you get my drift. (tomato or
tomato kind of thing)
Try 'Two-pull'.
Steve
--
http
ave that for another time.
Welcome to Python!
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
Steve Horsley wrote:
bill wrote:
Please reply to [EMAIL PROTECTED], thank you !
No - I'll reply to the newsgroup, if you don't mind.
The limitation of the Photon Hypothesis
THE UNCERTAINTY PRINCIPLE IS UNTENABLE
You cannot use classical theory to disprove quantum theory that e
ople say "tuppl".
So, basically, say whatever you want. Language is about communication :-)
you-say-tomato-ly y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
me and timedelta and then auto-create methods
wrapping the base types' methods in a "myxxx" conversion.
left-as-an-exercise-for-the-reader-ly y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web L
using existing functionality in either language over a
just-for-the-sake-of-it rewrite in Python. But that could just be
because I don't like re-inventing wheels.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC
won't be memory-efficient but
it will be easy to do.
AdSR
Or, if this doesn't suit, try creating two separate cursors from the
same connection and execute the same query on each. There's some chance
that your database driver/backend combination will optimize the queries
then.
ithout any trouble at all to Windows, but once it runs flawlessly
on Linux it starts to leak memory on Windows. The PSU suspects a plot in
Redmond, the basic details of which ar
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web L
experience, annyway) to the use of "where" in BCPL (heavens, *that* was
a long time ago). I never found that entirely natural either.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861
utility of deferred expressions. Here's a version using my
preferred syntax from the AlternateLambdaSyntax page:
if test(something(), (def x < 10 from x)) as m:
print "Case 1:", m
elif test(something(), (def x > 20 from x)) as m:
print "Case 2:", m
e
ll do much
of what is required. Google for his name and "python registry"
to find out more.
Hmm, effbot.org seems to be down just now. Sure it'll be back soon, though.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb
imply that straightforward code is to be preferred unless
speed requirements override that.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailma
ts to certain parts of the database.
Several people should work on it and NEED to have different
access rights.
Can anybody give me some recommendations on what to use?
Sounds to me like you need to add a rights layer to gadfly.
regards
Steve
--
Steve Holden http://www.holdenwe
bits from the first byte's integer value,
shifts them up seven bits, and then adds the rightmost seven bits of the
second byte's integer value.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1
Kartic wrote:
Steve Holden wrote:
Sounds to me like you need to add a rights layer to gadfly.
Aha...I did not consider that possibility. I have not gone indepth into
Gadfly...is that a straigtforward thing to implement?
Gadfly has been a very straightforwad installation for me. Of course the
[EMAIL PROTECTED] wrote:
Steve Holden wrote:
No he didn't. I think you will find you are attributing Steven Bethard's
comments to me.
[...]
The Numeric and Numarray Python modules have predefined ufunc's that
are essentially elemental functions with one or two arguments. It would
y to be, and a littel further
manipulation should be able to confirm that.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
Flavio codeco coelho wrote:
[EMAIL PROTECTED] (Michael Fuhr) wrote in message news:<[EMAIL PROTECTED]>...
If the actual byte and/or bit order is different then you'll have
to modify the expression, but this should at least give you ideas.
Thanks Michael and Steve,
I'll put your I
ed, and "quotes" needn't be quoted.];
print "$a\n$b";
#to see more about perl strings, do on shell prompt
#perldoc -tf qq
Xah
[EMAIL PROTECTED]
http://xahlee.org/PageTwo_dir/more.html
Well, that gets that sorted out, then.
Tomorrow: using single quotes. Using single quotes. The
ak the wrong end of their
boiled eggs).
BTW - I am *quite* happy with the proposal for "where:" syntax - I
think it handles the problems I have with lambda quite handily.
Whereas I find it to be an excrescence, proving (I suppose) that one
man's meat is another person
trachey's GPM) why somebody doesn't produce a really useful set of
(say) M4 macros to prove how much they'd improve Python.
Now that's something that would be a bit less ignorable than this
apparently interminable thread.
regards
Steve
PS: Your continued use of the NOSPAM.inva
n't, IMHO, anything with the polish of (say) Microsoft Access,
or even Microsoft SQL Server's less brilliant interfaces. Some things
Microsoft *can* do well, it's a shame they didn't just stick to the
knitting.
regards
Steve
--
Steve Holden http://www.holdenweb.co
ess
known to be legitimate corporate services to the external world.
Firewalling web services effectively is just an additional pain for the
network manager.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
... except AttributeError:
... print "Caught exception"
... continue
...
1
2
Caught exception
3
>>>
To terminate the loop on the exception you would use "break" instead of
"continue".
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
ike to mention
that I'd be up for a beer and/or meal and a natter with any Chicago
Pythonistas who happen to fancy it.
Anyone who so wishes can then email me.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web
minimizes! Any way I can do what I want
here?
Sorry, I think you'll need to ask Mark Hammond to have PythonWin pump
events more aggressively or some such.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web L
't included in the pasted snippet.
Also, "data" appears to be a global variable, which leaves us lacking
some useful information.
Does the debugMess() call show the full destination path for the file?
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web P
le language.
If you really see the need for Python macros then a preprocessor would
surely be the best way to prove the validity of such ideas?
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
not so bizarre if what you want is to have access to Python from
Lisp/Scheme in the same sense Jython has access to Java.
Why not just use a foreign function interface?
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holde
ces.
I presume the point of this is to avoid polluting the local namespace
with "newval". I further presume you also have plans to do something
about "i"? ;-)
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holde
d way to write this
would be:
a = 3
b = 1
if isinstance(a,(list,tuple,dict)):
b = len(a)
Is code length *really* so important? Think carefully ...
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC
.. def getCt(self):
... return self.count
... def inc(self):
... self.count += 1
...
>>> x1 = X()
>>> x2 = X()
>>> id(x1.count)
168378284
>>> x1.inc()
>>> id(x1.count)
168378272
>>> id(x2.count)
168378284
>>> id(X.count)
ng-new-under-the-sun-ly y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
en *nobody* would be
listening to me :-)
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
ments of list
Any statement of the form
for i in [x for x in something]:
can be rewritten as
for i in something:
Note that this doesn't mean you never want to iterate over a list
comprehension. It's the easiest way, for example, to iterate over the
first item of
t;
>> How can I embed two python interpreters in one C++ program ?
>>
>> Thanks
>
Take a look at mod_python's code: that allows several independent
interpreters in the same Apache process using Py_NewInterpreter(), which
may well be what you want - initially, see
http://ww
is
from my_scripts import PolyDraw
Let's not recommend this as a way around the problem - let's find out
what the problem actually *is* and fix it ;-)
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web L
correctly it
was Alex Martelli.
"A foolish consistency is the hobgoblin of little minds". Rules are made
to be broken. Besides which, if you don't understand the language
environment, rules alone will do you very little good. Try to focus a
little more on principles and a little less o
ous.
I was hoping to build a cleaner solution around the CGIHTTPServer variant
instead of say something like mini-httpd/OpenSSL/Python. I'd appreciate any
pointers.
I believe the Twisted package may be your best alternative, though this
is at best hearsay since I am not (yet) an active user.
Bengt Richter wrote:
On Thu, 13 Jan 2005 09:16:40 -0500, Steve Holden <[EMAIL PROTECTED]> wrote:
[...]
Any statement of the form
for i in [x for x in something]:
can be rewritten as
for i in something:
Note that this doesn't mean you never want to iterate over a list
comprehensio
gs stay sane. Remembering that the MO for classic classes and
types are rather different, how many cases do you think it will matter?
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
liest way to express that thought?
regards-li-er y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
compelling reason to
put in the effort to change my habits.
Since the only effort is the addition of
__meta class__ = type
at the head of your modules you could probably automate this without
breaking too much code.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web
AIL PROTECTED] sholden]$ python
Python 2.2.1 (#1, Aug 30 2002, 12:15:30)
[GCC 3.2 20020822 (Red Hat Linux Rawhide 3.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.environ["
be made look stupid
or be insulted.
And here was me just thinking that the burn would result from the
inevitable flames. Newsgroups really re a continual surprise.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Hol
ouraged you from shooting yourself in the foot would you do
that too?
some-people-just-won't-be-told-ly y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http
ussing how many angels can dance on
the head of a pin?
or-something-interesting-like-that-sly y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
between
representations might militate against more efficient representations.
Or, of course, it might not :-)
it's-only-storage-ly y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC
east a fifth base to represent, which means
you need at least three bits per base, which means only two bases per
byte (or else base-encodings split across byte-boundaries) That gets
ugly real fast.)
Right!
regards
Steve
--
Steve Holden http://www.holdenweb.com
s. Both agree he's a nuisance who is ill-informed about Perl *and*
Python ;-)
I can only presume it's egocentricity that keeps him cross-posting this
nonsense to c.l.py and c.l.pe.misc despite the many deficiencies that
have been remarked upon in both newsgroups.
fraternal-greetings-to-t
long as you don't mix file and string
operations. The programming convenience is amazing.
--
I have come to kick ass, chew bubble gum and do the following:
from __future__ import py3k
And it doesn't work.
So make it work :-)
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
Xah Lee wrote:
[...]
©
© who the fuck coded the python mode in emacs? fuckhead please peruse:
© http://xahlee.org/UnixResource_dir/writ/responsible_license.html
©
Pure egotism. Not to mention bad language.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web
et, Iterator).
Of course, the above is based on the JPE documentation, because I havent
been able to get JPE to work.
About Cameron's suggestion, sure. I'll do it as soon as I (or someone
else) can get both JPype and JPE to work so they can be compared through
more than just their res
->', re_dic[b][0]
print ' ', re_dic[b][1]
print
Better still, do a Google search on "mail threading algorithm",
implement the algorithm described in
http://www.jwz.org/doc/threading.html
and post your implementation back to the newsgroup :-)
regard
nell wrote:
Hi Steve,
First the "10x in advance" means thanks in advance.
The main importance of protecting my code is to save headache of
customers that want to be smart and change it and then complain on bugs
and problems.
10x
I'd have understood "tnx", never seens 10x
cting bytecode files to specific
locations are picked up, it would seem like a good idea to point out the
desirability of using separate copies of Python module sources for
different interpreters.
Anyway Mike, I'm glad you have a reliable solution to your problem.
regards
Steve
--
Steve
Principle: "Ten angels can dance on the head of a pin".
Minutiae: "Well, if they'd all recently been on a diet and they hold on
to each other very carefully you can get 10.3. I got eleven once by
adding a hash function".
regards
Steve
--
Steve Holden
seems unlikely to
ever appear.
Or, better yet, not posting it at all. He's got his mailing list, what
does he need to post it here for?
As I may have mentioned before, egotism can be the only possible reason.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Program
ook in
one of the twenty temp dicts, and if you don;t find something you read
it back in form disk?
This whole thing seems a little disorganized. Perhaps if you started
with a small dataset your testing and development work would proceed
more quickly, and you'd be less intimidated by the clear
Antoon Pardon wrote:
Op 2005-01-17, Steve Holden schreef <[EMAIL PROTECTED]>:
Antoon Pardon wrote:
[...]
"A foolish consistency is the hobgoblin of little minds". Rules are made
to be broken.
Like only use immutables as dictionary keys.
Fair enough, but don;t go advising newbies
Antoon Pardon wrote:
Op 2005-01-17, Steve Holden schreef <[EMAIL PROTECTED]>:
Antoon Pardon wrote:
Op 2005-01-17, Steve Holden schreef <[EMAIL PROTECTED]>:
Antoon Pardon wrote:
[...]
"A foolish consistency is the hobgoblin of little minds". Rules are made
to be
the intention of being able
to replace wxPython with other GUI kits at a later date. So, there
should be a simpler graphical API, but since I haven't yet done more
than dabble (dabole?) with dabo I can't be sure.
regards
Steve
--
Steve Holden http://www.ho
Antoon Pardon wrote:
Op 2005-01-17, Steve Holden schreef <[EMAIL PROTECTED]>:
Antoon Pardon wrote:
I don't see a big difference between these principles
and the hash key principle, so in the end may be we
should just stick with the more general principle:
Don't use mutables!
and
available for earlier versions.
You will need to import the socket module and then call
socket.setdefaulttimeout() to ensure that communication with
non-responsive servers results in a socket exception that you can trap.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Pyt
?
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
ions, feel free to post them on the feedback list
on sourceforge. I check it every day and I try to answer as quickly as
possible.
Steve, aka devilwolf on sourceforge, maintainer of JPype
--
http://mail.python.org/mailman/listinfo/python-list
the individual items until they are required and thereby relieve stress
on memory.
As an edge case to demonstrate the point, what about a constant but
infinite sequence?
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Ho
evelopment *does* focus mostly on the
library, there's a sporting chance that Jython can be fully up to date
for the 2.5 release.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 70
f thumb" and "general principle".
preferably-in-less-than-three-thousand-words-ly y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
Stephen Thorne wrote:
On Tue, 18 Jan 2005 07:12:18 -0500, Steve Holden <[EMAIL PROTECTED]> wrote:
Since it doesn't yet optimize 2+5 to a constant-folded 7 you should
realize that you are suggesting a large increase in the compiler's
analytical powers.
As in interesting aside to th
ut their behaviors vis a vis side effects.
Python is *designed* as a dynamic language. I wish you would embrace
this aspect rather than continually trying to shoehorn it into a static
straitjacket. Efficiency is good. Flexibility is better.
regards
Steve
--
Steve Holden http://www.ho
Antoon Pardon wrote:
Op 2005-01-18, Steve Holden schreef <[EMAIL PROTECTED]>:
Python is *designed* as a dynamic language. I wish you would embrace
this aspect rather than continually trying to shoehorn it into a static
straitjacket. Efficiency is good. Flexibility is better.
Flexibil
the socket.SO_REUSEADDR option when you open your server socket.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
Bob Smith wrote:
Is shutil.copyfile(src,dst) the *most* portable way to copy files with
Python? I'm dealing with plain text files on Windows, Linux and Mac OSX.
Thanks!
Yes.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenwe
Istvan Albert wrote:
Steve Menard wrote:
To asnwer your question more fully, the jpype-specific cide is only
for looking up the Classes and startting/stopping the environment. For
everything else, Java objects and classes are used as regular Python
objects.
Thanks for the response. Currently I
Paul Rubin wrote:
Steve Holden <[EMAIL PROTECTED]> writes:
You probably already know that sensible compiled language systems have
used constant folding since time immemorial, but Python has always
eschewed it. That's what comes of being a pragmatist's language: if
such optimiza
Antoon Pardon wrote:
Op 2005-01-18, Steve Holden schreef <[EMAIL PROTECTED]>:
[...]
But you do have a point that I have a tendency to put salt on
any snail. I'll try to restrain myself a bit more in the future.
Finally! :-)
I find I like you much better after this reflective response.
obably complaining because it needs six values to
fill out the format and you only provided four.
In future, by the way, always include the error message in such posts!
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
ys to skin this particular cat.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800 494 3119
--
http://mail.python.org/mailman/listinfo/python-list
nside. Sometimes that feels like a wart to me, but
now I know it, sometimes not.
That has very little to do with tuples. You could just as easily write
'this is a '\
'long string'
It's the dangling comma that's required to specify a tuple:
>>> 1,
brary (which he then provided himself by finding
a bug report). Hence his use of the phrase "overloads 'list' name" in
the subject line!
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC
1601 - 1700 of 7150 matches
Mail list logo