Re: [Tutor] howto call DOM with python

2007-03-03 Thread Alan Gauld
"Alan Gauld" <[EMAIL PROTECTED]> wrote > You will be better learing the minimum of > JavaScript IMHO. I meant to add that you can make JavaScript more Pythonic, if thats an issue, by using mochikit. http://mochikit.com/ Mochikit provides JavaScript functions that replicate many Python idiom

Re: [Tutor] howto call DOM with python

2007-03-02 Thread Alan Gauld
"Ismael Farfán Estrada" <[EMAIL PROTECTED]> wrote > By any chance is this your tutorial? > http://www.freenetpages.co.uk/hp/alan.gauld Yes that's it. > I entered there but the parts "Writing web clients" and "Writing > Web Applications" are dissabled I'm writing them at the moment. :-) But the

Re: [Tutor] howto call DOM with python

2007-03-02 Thread Ismael Farfán Estrada
> >I don't think you can make it work under Linux. The Jython applet >is your nearest option. You will be better learing the ninimum of >JavaScript IMHO. Try my tutorial as a quickl way in, especially >if you know Python... > >Finally, you may be able to do what you want using the urllib >module to

Re: [Tutor] howto call DOM with python

2007-03-02 Thread ALAN GAULD
MAIL PROTECTED]> Cc: tutor@python.org Sent: Friday, 2 March, 2007 9:13:17 AM Subject: Re: [Tutor] howto call DOM with python Alan Gauld wrote: > You can do that in Internet Explorer provided you > a) Have the winall package installed and Just an aid to newcomers: the "winall" pa

Re: [Tutor] howto call DOM with python

2007-03-02 Thread Tim Golden
Alan Gauld wrote: > You can do that in Internet Explorer provided you > a) Have the winall package installed and Just an aid to newcomers: the "winall" package referred to here are the windows-oriented extension modules by Mark Hammond which used to be known as win32all and are now known as pywin

Re: [Tutor] howto call DOM with python

2007-03-01 Thread Alan Gauld
"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 want to get someting > like > this working > > > window.alert("python") > > You can do that in Internet Explorer provided you a)

Re: [Tutor] howto call DOM with python

2007-02-28 Thread János Juhász
under activepython 2.3 anyway. Yours sincerely, __ János Juhász > Date: Wed, 28 Feb 2007 15:40:59 -0600 > From: Hugo Gonz?lez Monteverde <[EMAIL PROTECTED]> > Subject: Re: [Tutor] howto call DOM with python > To: tutor@python.org > Message-ID: <[EMA

Re: [Tutor] howto call DOM with python

2007-02-28 Thread Bob Gailer
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

Re: [Tutor] howto call DOM with python

2007-02-28 Thread Hugo González Monteverde
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

Re: [Tutor] howto call DOM with python

2007-02-28 Thread Jerry Hill
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

[Tutor] howto call DOM with python

2007-02-28 Thread Ismael Farfán Estrada
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