sages to the Sent folder).
Chris
Well, in that case please excuse my crotchetiness. It's probably the
time of year.
bah-humbug-ly y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4
g wrong with doing it.
Bearing in mind that module initialisation is always one-off, relying on
import to trigger such complex behavior is probably a design that will
mislead users into false expectations.
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
nate that so many people chose to use that for
compatibility, when if they'd used the same code that the win32all
extensions did they could have retained backward compatibility even
across a change to constants:
try:
True
except AttributeError:
True, False = (1==1), (1!=1)
regard
r contention that
SmallTalk was a curiosity - unless you define anything of interest
mostly to the academic world as a curiosity, in which case there's no
way to overcome your objection. It was the first major implementation of
an entire system based exclusively on OO programming concepts
Fredrik Lundh wrote:
Steve Holden wrote:
It was unfortunate that so many people chose to use that for compatibility, when if they'd used
the same code that the win32all extensions did they could have retained backward compatibility
even across a change to constants:
try:
True
e
Paul McGuire wrote:
"Steve Holden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[some stuff]
Good points all. And yes, I recall the BYTE article on Smalltalk. I guess
I was just reacting mostly to the OP's statement that "by '86 the Joy of OOP
wa
Paul McGuire wrote:
"Steve Holden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[some stuff]
Good points all. And yes, I recall the BYTE article on Smalltalk. I guess
I was just reacting mostly to the OP's statement that "by '86 the Joy of OOP
wa
Again you should post a little more detail. In your example it looks
like you made a simple spelling error: getDOMImpmentation instead of
getDOMImplementation.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden W
y in a dictionary.
So provide your objects with a __hash__ method, and you can use them as
dictionary keys.
Sheesh, learn Python already. What a troll. [Plonk]
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web
e life of me I don't *really* know
why I find it acceptable in Python to have to write module.func(args)
when I dislike having to write class.meth(args) in Java.
perhaps-i'm-just-old-and-crotchety-ly y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python Web
s. They're all dreadful liars, these Scandinavians ;-)
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
x27;d like to know which strings occur in both lists,
right?
You might like to look at the "Efficient grep using Python?" thread for
suggestions. My favorite would be:
.>>> lst1 = ["ab", "ac", "ba", "bb", "bc"]
.>>>
conventional programmer.
The rate is open. Immediate need. Please forward your resume to me.
Please contact:
Bill Norris
[EMAIL PROTECTED]
815-301-3189
Bill:
Note you can post this job on the board - see
http://www.python.org/Jobs-howto.html for further details.
regards
Steve
--
Steve Holden
in order. After that it'd be relatively simple to
determine whether two lines match - they'd be the same!
The only slight wrinkle would be keeping the original lines for
reference, but that's not difficult.
Does this give you enough of an idea, or do you need code samples?
reg
asier ;-)
Of course this whole thing of substituting attribute access for
dictionary keys only works as long as the keys are strings with the same
syntax as Python identifiers, so one shouldn't go completely overboard.
"To the man with a hammer everything looks like a nail"
tting closer to an answer, but
obviously you still have to strip out the characters that you don't want
to affect the match (such as "(" and ")").
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Hold
en't, really. The big innovation was the
use of line-numbering to allow interactive editing and testing of a program.
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 31
mmond anf Robinson does spend quite a lot of space explaiing how to
build Python functionality with VB-style front-ends.
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 311
Fredrik Lundh wrote:
Steve Holden wrote:
Certainly makes writing 'print obj.spam, obj.spam, obj.eggs, obj.bacon,
obj.sausages, "and", obj.spam' a lot easier ;-)
Of course this whole thing of substituting attribute access for dictionary keys only works as long
as the keys
Steve Holden wrote:
Adam DePrince wrote:
On Thu, 2004-12-16 at 13:36, abisofile wrote:
hi
I'm new to programming.I've try a little BASIC so I want ask since
Python is also interpreted lang if it's similar to BASIC.
Nobody is answering this question because they are shudder
used to Python you'll also get used to thinking of
a tuple as a single composite object.
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
Peter Otten wrote:
Fredrik Lundh wrote:
Steve Holden wrote:
It was unfortunate that so many people chose to use that for
compatibility, when if they'd used the same code that the win32all
extensions did they could have retained backward compatibility even
across a change to constants
r - it's
good to see that shortening the lines fixed the bug for you, but it
would be even better if the problem were removed.
Your English, by the way, is perfectly comprehensible, so there is no
need to apologise.
regards
Steve
--
Steve Holden http://www.holdenweb.co
ally make me laugh out loud, but that did.
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
;>> print """\
It isn't that hard"""
It isn't that hard
.>>>
Would it work, I wonder, with a leading space on the prompt? That might
be a valid change to the standard prompt. Let's see
>>> This line isn't really quoted three times.
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
CTED] ~
$ vi module.py
[EMAIL PROTECTED] ~
$ wc module.py
8177 58206 module.py
[EMAIL PROTECTED] ~
$ python
Python 2.4 (#1, Dec 4 2004, 20:10:33)
[GCC 3.3.3 (cygwin special)] on cygwin
Type "help", "copyright", "credits" or "license" for more i
> fl.append("four")
>>> fl.bar()
Bar: one
Bar: two
Bar: three
Bar: four
>>> type(fl)
>>>
You do need to be somewhat careful, though, to understand the
initialisation mechanism of the new object-based types if you are going
to get the best out of them.
print sock_list
for example. I think your initial hypothesis is insufficient.
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
ution. Not
sure how long the "pass" takes. Hmmm.
[EMAIL PROTECTED] ~
$ timeit pass
1000 loops, best of 3: 0.163 usec per loop
So we seem to be looking (on my machine) at 0.8 usec per function call
vs. 0.93 usec per method call.
regards
Steve
--
Steve Holden http://
s something difficult, as I know he finds things that *IK*
find difficult relatively easy.
Maybe I should enter the next sprint as a name generator ...
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 70
matthew wrote:
testing ...
Please use alt.test for 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
e. Was this what you were looking for?
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
se makes your suggestion look impractical, methinks, since it
requires that the programmer do what you would apparently like to
specifically forbid.
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
It's sometimes amazing just how
down and dirty Python will let you get.
Of course, if the mappings were all dictionaries then it would be rather
simpler to just update an empty dict with the outermost through to the
innermost scopes.
though-efficiency-would-be-determined-by-usage-ly y&
:
print item.ToLower()
when int:
print Math.Abs(item)
It appears you should read your own remarks from the "Web forum (made by
python)" thread :-)
whereas-my-ego-couldn't-be-smaller-ly yr's - 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
HTML uses lower-case tags and allows self-closure with a
trailing slash after the tag name?
let's-keep-that-christmas-spirit-coming-ly y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703
let Andy Dustman have a copy.
[pauses to check that the module actually imports and works ...]
Yep, works fine for a small test ;-) so I'm mailing it to Andy next
thing I do.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenw
Steve Holden wrote:
Using the recently-publicized methods for the using the freely-available
(i.e. costless) Microsoft tool chain I managed to create a Windows
installer for MySQLdb-1.1.4.
Whoops, make that "... for MySQLdb-1.0.0"
caught-using-the-time-machine-ly y'rs - steve
x27;t wait,
there's a copy at
http://pydish.holdenweb.com/pwp/MySQL-python.exe-1.0.0.win32-py2.4.exe
Enjoy!
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://
it came across).
About the next you can do is to add your email address as a Cc and then
file the messages when you receive them, I suspect.
Why the insistence on using Outlook Express, is you don;t mind me asking?
regards
Steve
(who almost always uses smtplib)
--
Steve Holden
(which, since we don't
have a FAQ, are entirely unwritten).
By and large we like to run a civil list, and politely pointing out what
appear to be transgressions is the best way to keep things that way. You
probably realize that c.l.py isn't a moderated newsgroup.
regards
personally think that wxPython gets closest to the
native look-and-feel of the windowing platform, but that may just be my
limited experience speaking.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC
, and he's been known to be very helpful with newcomers.
He's probably just feeling a bit cranky as the hockey season revs up ...
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237
cgi.py", line 2, in ?
import cgi
File "/c/steve/cgi.py", line 12, in ?
main()
File "/c/steve/cgi.py", line 6, in main
form = cgi.FieldStorage()
AttributeError: 'module' object has no attribute 'FieldStorage'
Ha! There's a naming confusion b
eeing if you can import it without errors. You might actually find
that the built-in "time" module contains enough date/time functionality
for your needs if they are simple.
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
Peter Hansen wrote:
Steve Holden wrote:
Traceback (most recent call last):
File "cgi.py", line 2, in ?
import cgi
File "/c/steve/cgi.py", line 12, in ?
main()
File "/c/steve/cgi.py", line 6, in main
form = cgi.FieldStorage()
AttributeError:
631
>>> import time
>>> print "File was created", (time.time() - ctime)/(3600*24), "days ago"
File was created 14.6398609114 days ago
Does this do it?
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
age-collected while the images are still beign displayed,
leading to results that are at best unpredictable and at worst fatal to
your program.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237
it, take a look at
http://www.vrplumber.com/programming/mstoolkit/
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
= 33
>>> True
33
>>> __builtins__.True
True
>>> __builtins__.True = 42
>>> True
33
>>> del True
>>> True
42
>>>
Of course, even though you can change True's value, you can't make a
comparison return __builtins__.True:
ot;print eval('None')"?
Yes. "print eval('None')" is printing the value of None as defined in
your module's global namespace:
Python 2.4 (#1, Dec 4 2004, 20:10:33)
[GCC 3.3.3 (cygwin special)] on cygwin
Type "help", "copyright", "c
Leif K-Brooks wrote:
Steve Holden wrote:
Yes. "print eval('None')" is printing the value of None as defined in
your module's global namespace:
Right, but why? The expression "None" doesn't worry about the global
namespace when used in normal code; why do
Python has functions as map, filter and listcomprehension etc. I hope it
is possible in Python too. In Haskell I would write:
foldr (++) []
Thank you for answering!
>>> l = ["abc", "def", "ghi", "jkl"]
>>> "".join(l)
ris:
Please note that the odbc module is a bit long in the totth now, though
it surely is convenient to get it with win32all. If this work is being
done for personal use you might want to look at www.egenix.com and think
about installing the mxODBC module, which I have used with very good
results.
orm,
old chap.
So please don't let your own upset start you being unpleasant to others.
There's no point souring your outlook just because the world isn't
beating a path to your door. Maybe it's the mousetrap's fault.
wouldn't-normally-say-python-to-a-goose-ly y
thon23\Lib>c:/franz.py
C:\Python23\Lib>
Well, you've probably answered your own question, then. Do you think
tabnanny is a useful piece of code now? I used it a lot when I first
started using Python, and still run it over code from unknown sources
(no pun intended) from time to time.
oin/Python3.0
Or use boo - it's probably in there already ;-)
must-stop-baiting-the-holton-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
n the open source world some people program and some people
write documentation, but the two sets rarely coincide) will explain the
linkages between COM Objects and win32com, and the section under "To
generate Python sources supporting a COM object" is probably what you need.
regards
Franz Steinhaeusler wrote:
On Tue, 21 Dec 2004 08:36:31 -0500, Steve Holden <[EMAIL PROTECTED]>
wrote:
Franz Steinhaeusler wrote:
[...]
Oh sorry, I meant
def a():
->print
..->print
C:\Python23\Lib>tabnanny.py -v c:\franz.py
'c:\\franz.py': *** Line 3: trouble in tab
Fredrik Lundh wrote:
Steve Holden wrote:
If you would like to use % instead of $, I recommend requesting that feature for Python 3.0:
http://www.python.org/cgi-bin/moinmoin/Python3.0
Or use boo - it's probably in there already ;-)
weren't you supposed to ask me about it?
Aah, ri
hers.
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
around separate activities.
Maybe what you need is threads, which can easily access each other's
resources. They do need careful control, though, precisely because they
share a single process's address space and protection boundary.
regards
Steve
--
Steve Holden
omplaining. Otherwise
it should complain.
John Roth
Sounds like WingIDE to me. I'm a recent convert, but one feature that
impressed me was the instant warning I got when I indented code with
spaces in a tab-oriented source file.
regards
Steve
--
Steve Holden http://www.holdenweb.
)
5
Or is this not what you excepted?
Channelling the effbot, I think he was asking what namespace context you
expected the expression "arg=otherfunction(x)" to be evaluated in when
it's used at the time of a function call to dynamically create a new
default value for arg.
any channels you
know of that have an interest in the Python language and its
applications - publicity is the key to getting the most
diverse group of people at PyCon.
regards
Steve Holden
Chairman, PyCON DC 2005
--
PyCon DC 2005: The third Python Community Conference
http://www.pycon.org/ http
I think I got away with it.
Subtle distinction: A metER is a measuring device. A MetRE is a unit of
distance.
So presumably a delimetre is the equivalent of just over three foot-long
subs? And that Monty Python pun was the wurst I've seen this weak.
regards
Steve
--
Steve Holden
es will tell you it's the
Norwegians who are alcoholics."
;-)
--
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
. When
everything is more or les continuous computation, and so short it can be
over in microseconds, there's no motivation for the scheduler to stop
one thread and start another.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.ho
that will make the name in __builtins__ inaccessible.
So, what with that plus the way the names automagically appear it's
probably something to relegate to the "definitely not best practice"
category.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Pyth
;s-only-ones-and-zeroes-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
Matthew Thorley wrote:
I have got to be the stupidest person on the face of the planet.
I'll have you know I don't welcome newcomers to this newsgroup trying to
steal my hard-won reputation, if you don't mind.
keeping-it-light-ly y'rs - steve
--
Steve Holde
print "Adding", itm['link']
curs.execute(sqlinsert,
(dt.DateTimeFromTicks(int(dt.now())), itm['link'], description))
conn.commit()
conn.close()
Similar techniques can be used on many other sites, and you will find
that (some) RSS feeds are
Steve Holden wrote:
[...]
However, the code to extract the news is pretty simple. Here's the whole
program, modulo newsreader wrapping. It would be shorter if I weren't
stashing the extracted links it a relational database:
[...]
I see that, as is so often the case, I only told half
to
change my default SMTP host to the other one on a list of two. Which
remionds me, time to check out the latest release ...
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800
TML.
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
atforms.
There are several ways you could have remote Python processes talking to
each other. Pyro is a package that would let you handle this situation
relatively easily, and I'm sure others will chime in with their favored
solutions.
regards
Steve
--
Steve Holden http
s to
the unixODBC API and has been developed using SWIG."
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
your questions do have a habit of getting to the
nub of what Python's about. I can see you're going to like this language.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 800
1,2,3,4]
>>> slicer[::2]
[0, 2, 4]
>>> slicer[1::2]
[1, 3]
>>> >>> slicer[::-1]
[4, 3, 2, 1, 0]
>>> slicer[-1::-2]
[4, 2, 0]
>>>
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
u add the stderr stream into the picture it's sometimes
impossible to know when the interactive client is waiting for input.
One final comment: you haven't so far said *why* you want to interact
with Python in this way. Given the availability of exec and eval(), just
what is it that
and peaceful holiday season.
regards
Steve Holden
Chairman, PyCON DC 2005
--
PyCon DC 2005: The third Python Community Conference
http://www.pycon.org/ http://www.python.org/pycon/
The scoop on Python implementations and applications
--
http://mail.python.org/mailman/listinfo/python-list
ges as well, in which case you would need to
provide callback functions to be called for clicks on the various
sub-portions.
Take a look at the docs for wxEvent, and see if that leads you to
something you can understand.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python
Alex Martelli wrote:
[...]
Sorry for the toy-ness of the
example, but I don't want to post for hundreds of lines.
[...]
Can we take it this is some kind of early New Year's resolution?
happy-christmas-ly y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python
re so was your gratuitous repetition thereof?
Far more pleasant to either a) ignore a gaff by a possibly
less-experienced usenet correspondent than yourself, or b) point out the
error without repeating it, as I hope I have done here.
regards
Steve
--
Steve Holden
ter what I send over via the stdin pipe.
This behavior isn't presented by the command line interpreter by any
chance.
Any suggestions?
Yes: post your code along with messages (if any)!
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydis
e to appreciate the fact that I *never* mess up
the order of arguments any more.
Personally that's one of the changes I managed to take in my stride, and
I've never really felt it was a biggie. Maybe my code is just so ugly
that a little extra ugliness isn't noticeable?
horses-fo
also be used on the web (Google for
"client-side image map"), but it's very little-used there.
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://ma
subscribe.
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
t a module
named sitecustomize, which can perform arbitrary site-specific
customizations. If this import fails with an ImportError exception, it
is silently ignored."""
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://py
like your program to do
here, as at present it's not even clear whether this code is intended to
act as input as well as output? What's wrong with what happens now, and
how would you like to change it?
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python W
x27;t implement CGIs, the only stuff it
can serve up is static content, which clearly can't use any query string
input anyway. You probably want CGIHTTPServer.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Hold
his talk will include some details
of his experiences at Microsoft (though that's entirely up to Jim).
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
nal arithmetic."""
[Yards of unusable code]
I'd also request that you change all leading tabs to four spaces!
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237 +1 8
Kent Johnson wrote:
Steve Holden wrote:
Just a little further background. The Python Software Foundation
recently awarded a grant to help to bring Jython into line with the
current CPython release.
Is information publicly available about this and other PSF grants? I
don't see any announc
Steve Holden wrote:
Avi Berkovich wrote:
Hey,
I can't make it work, I don't get any data from either stdout nor stderr.
If I send lines and then close the stdin pipe, I may get an exception
message from several lines up.
I tried manually reading from the stdout pipe, but it just
much existing code fails when preceded by the 1.5.2--to-2.4-compatible (?)
__metaclass__ = type
guessing-not-that-much-ly y'rs - steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 703 861 4237
at will become the
string value "1" in the choice variable. Since "1" is not equal to 1 you
will always "fall off the end" and print "Bye".
Perhaps you'd like to try again after you've attempted to remedy some of
the deficiencies I h
Raymond Hettinger wrote:
[...]
"Not everything that can be done, should be done."
... and not everything that should be done, can be done.
regards
Steve
--
Steve Holden http://www.holdenweb.com/
Python Web Programming http://pydish.holdenweb.com/
Holden Web LLC +1 70
elate
to the location of the scripts that import it and use that function from it.
What am I missing?
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
c' to create Perl code.
So, that single ui description can be used in multiple languages.
My two cents,
Michael
Michael:
Just a bit less-than-helpful when the original post specifically asked
for comparisons *between Tkinter and wxPython* in the context of having
two weeks to work
901 - 1000 of 4732 matches
Mail list logo