hi
there are same samples about it in the activepython 2.4 installation
folder
c:\Python24\Lib\site-packages\win32comext\axscript\Demos\client\ie\
on my xp, but it isn't working. I have just repaired my activepython and
reinstalled it but no success.
As I remenber, it was working under activepy
Ismael Farfán Estrada wrote:
> hi there
>
> I was wondering wheter someone knows how to use python to write
> a client-side scripts like if it were java, I want to get someting like
> this working
>
>
> window.alert("python")
>
>
>
> but nothing happens. I don't know javascript but this code wo
Hello again,
Problem finally solved : had to reinstall and rebuild PIL (from tar) - this
time pointing the setup.py to the right location of jpeg-6b library, and
ONLY THEN running setup.py build_ext -i of Imaging1.1.6
hope someone can make use of this,
Tsila
On 3/1/07, Tsila Hassine <[EMAIL PRO
Hello all!
sorry - pretty much of a novice
here's a snippet I am running from the Python interactive interface - and
the error I am getting:
import Image, imghdr
im=Image.open('test406.jpg')
new_image=im.resize((100.0,100.0), Image.ANTIALIAS)
Traceback (most recent call last):
File "",
I too wish it worked. In javascript, it works because the browser has a
Javascript implementation. There's no stock browser with a Python
implementation, and I've looked for any client side implementation with
no success.
Hugo
Ismael Farfán Estrada wrote:
> hi there
>
> I was wondering wheter
Hi,
It looks like there is a capability you don't have installed in your
image processing lib. but you really give us nothing. Please tell us:
- Was this working before in any other operating system or python version?
- What module are you using for working with jpeg?
- Show us the code th
If you want to play around with this stuff, you can first import sys,
and then insert this line in the except clause:
print repr(sys.exc_info())
(or some other way of getting the details out of the returned tuple.)
That will tell you exactly what brought you to the except clause.
On Feb 28, 200
On 2/28/07, Ismael Farfán Estrada <[EMAIL PROTECTED]> wrote:
> I was wondering wheter someone knows how to use python to write
> a client-side scripts like if it were java
I don't think this is possible, at least without creating a
custom-compiled version of Firefox.
There's a little bit of discu
check your python path
On 2/28/07, Nagendra Singh <[EMAIL PROTECTED]> wrote:
Hi all,
I am running python on Cygwin and I have also installed gdal which is a
raster translator library. When I run the command import gdal, Python gives
me an error :
Python 2.4.3 (#1, May 18 2006, 07:40:45)
[GCC
[snip]
>
> (Although, I'm not sure what you meant by "working" in the below case,
> since your example doesn't exit the interpreter.)
> [snip]
>
>
> try:
>f = file('somefile_you_have.txt','r')
>sys.exit(0)
>
> except IOError:
>print "You had an error on file input"
hi there
I was wondering wheter someone knows how to use python to write
a client-side scripts like if it were java, I want to get someting like
this working
window.alert("python")
but nothing happens. I don't know javascript but this code works
if I put javascript instead of python, I've als
[EMAIL PROTECTED] wrote:
> Hi!
>
> I have some python CGI scripts in an intranet, in a windows network, I
> would like to restrict the access to some of those scripts to a list
> of computers in the domain.
>
> How?
Within the CGI I think you can look at the environment variable
REMOTE_HOST
Cecilia Alm wrote:
> I have two quick questions:
>
> 1) Why does sys.exit() not work in a try clause (but it does in the
> except clause)?
sys.exit raises an exception. That's how it exits program execution.
If you use it in a try block, the exception it raises will have no
effect because your e
Hi all,
I am running python on Cygwin and I have also installed gdal which is a
raster translator library. When I run the command import gdal, Python gives
me an error :
Python 2.4.3 (#1, May 18 2006, 07:40:45)
[GCC 3.3.3 (cygwin special)] on cygwin
Type "help", "copyright", "credits" or "licens
When you call sys.exit() you're raising a SystemExit exception.
help(sys.exit)
Help on built-in function exit in module sys:
exit(...)
exit([status])
Exit the interpreter by raising SystemExit(status).
If the status is omitted or None, it defaults to zero (i.e., success).
If the s
Hi!
I have some python CGI scripts in an intranet, in a windows network, I
would like to restrict the access to some of those scripts to a list
of computers in the domain.
How?
Thanks, Paulino
___
Tutor maillist - Tutor@python.org
http://mail.pyt
I have two quick questions:
1) Why does sys.exit() not work in a try clause (but it does in the except
clause)?
try:
...print 1
...sys.exit(0)
... except:
...print 2
...sys.exit(0)
...
1
2
# python exited
2) If opening a file fails in the below 2 cases, sys.exit(message) print
Thanks a lot for all you helps. Alan your tutorial is very helpful But I
have another problem which I will post soon.
On 2/26/07, Alan Gauld <[EMAIL PROTECTED]> wrote:
"Nagendra Singh" <[EMAIL PROTECTED]> wrote
> Thanks a lot for all the suggestions. I used the function
> subprocess.call ( 'c
Dear fellow Pythoneers,
I have recently upgraded to Mac 10.4, and since then this error appears when
trying to manipulate an image (resize it actually),
can anyone help me out ?
thanks!
Tsila
___
Tutor maillist - Tutor@python.org
http://mail.python.o
Hello there all,
i am poplib to retrieve mail from a pop server here on my local machine.
i need to be able to forward every message i get to another email address.
i looked through the poplib page on the reference online but i can't
find anything there to help me out with this. Also, the message
It's a result problem; I do not see the reason it is doing this. AS I do
not yet understand it, I cannot say where the problem is. Anyone got an
idea?
I am posting musings and rumbling about my project so anyone who is
interested may offer suggestions, or simply follow along for their own
inte
This question isn't well posed. There is no such thing as an F1
"character".
Data is sent over telnet connections as 8-bit bytes. You can send
any combination of 8-bit bytes you want by coding them in a number of
different ways, such as chr(xx) like you wrote below, or '\xnn' or
whatever
I have used special characters before in Telnet sessions, but always use
hex characters. i.e.: \x0B for ESC.
Maybe F-keys are some form of internal OS signals and are not send out on
the network connection. In that case, I'm not sure how to send it.
Johan
-Original Message-
From: [EMAIL
Kirk Bailey wrote:
> OK, 1.3.0 is coming along well, and works pretty nice. BUT...
>
> It lives inside my laptop, and I want to be able to duck out and go back
> to the regular webpages I put into it. Remember, I have a server in
> there, tinyweb. So there it is, working well, and I put in a lin
Registration ends Friday:
http://trizpug.org/boot-camp/camp5
--
Sincerely,
Chris Calloway
http://www.seacoos.org
office: 332 Chapman Hall phone: (919) 962-4323
mail: Campus Box #3300, UNC-CH, Chapel Hill, NC 27599
___
Tutor maillist - Tutor@pyt
On 2/27/07, Doug Stone <[EMAIL PROTECTED]> wrote:
> Hi. I just started investigating Python and was wondering about the origin
> of Python's name.
> What did van Rossum have in-mind when he named Python?
http://en.wikipedia.org/wiki/Guido_van_Rossum
About the origin of Python, Van Rossum wrote
26 matches
Mail list logo