Efrat,
I am afraid a CGI script is never *executed* by the browser. Instead, it sends
the URL to a server, expects the server to execute the script, and display the
server's response. If you just put a file name then (it seems, I never even
tried that) Firefox uses the local file store as a 'serve
A question on using the PIL library. If I take a jpg file then, say, resize it
and save it
somewhere else, all metadata that is part of the jpg file is lost. This is a
pity: digital
cameras routinely add metainformation, so does, for example, Photoshop.
Is there any way of keeping this info in P
Look at the standard python library reference
http://docs.python.org/lib/dom-example.html
the handleSlide function almost does what you want, except that you should use
'parse' and not 'parseString'.
Original Message
From: "Jay" <[EMAIL PROTECTED]>
To:
Subject: Re:Using XML w
There is a simple, though slightly ugly trick: if the directory where the python
module resides, is not writable to the python process, the python runtime will
silently ignore .pyc generation (as far as I know). It is not elegant, but it
works...
Ivan
Original Message
From: "Edd
There is a simple, though slightly ugly trick: if the directory where the python
module resides, is not writable to the python process, the python runtime will
silently ignore .pyc generation (as far as I know). It is not elegant, but it
works...
Ivan
Original Message
From: "Edd
Original Message
From: Matthias Kaeppler <[EMAIL PROTECTED]>
To:
Subject: Re:PyXML: SAX vs. DOM
Date: 20/1/2006 21:26
> Oh and:
> Where can I find an API reference for PyXML? Am I supposed to /guess/
> which methods and attributes e.g. Sax2 supplies? :D
>
> Thanks again,
> Matth
I would certainly look at *all details* of the announcement, including
the second line from the top which gives the date:-)
Ivan
Caleb Hattingh wrote:
> WAIT-
>
> Did I just get caught by an April Fools Joke?
>
> I have a nasty feeling about this :))
>
> C
>
--
http://mail.python.org/mailma
Ju Hui wrote:
> I want to print 3 numbers without blank.
for x in range(3):
> ... print x
> ...
> 0
> 1
> 2
for x in range(3):
> ... print x,
> ...
> 0 1 2
>
> how to print
> 012
> ?
>
> thanks.
>
You may want to use the write command with stdout:
sys.stdout.write("%s