Re: How can I load python script into Html ??

2005-12-19 Thread Roger Upole
"Claudio Grondi" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > PatPoul wrote: >> Yes I register Python script. >> I see in your exemple that you use file extention pys. >> That was why my exemple does'nt work. >> >> Thanks ! >> >> Patrick Poulin >> > > In this context I have a ques

Re: How can I load python script into Html ??

2005-12-19 Thread Claudio Grondi
PatPoul wrote: > Yes I register Python script. > I see in your exemple that you use file extention pys. > That was why my exemple does'nt work. > > Thanks ! > > Patrick Poulin > In this context I have a question: How can the registering of the Python scripting engine be easily and completely

Re: How can I load python script into Html ??

2005-12-19 Thread PatPoul
Yes I register Python script. I see in your exemple that you use file extention pys. That was why my exemple does'nt work. Thanks ! Patrick Poulin -- http://mail.python.org/mailman/listinfo/python-list

Re: How can I load python script into Html ??

2005-12-16 Thread Roger Upole
Using the normail src attribute works for me: Did you register the Python script engine with pyscript.py or pyscript_rexec.py ? Roger -- "Ask the ToeCutter - HE knows who I am !" "PatPoul" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sorry I was not clear, my setup is

Re: How can I load python script into Html ??

2005-12-16 Thread Tim Roberts
"Steve M" <[EMAIL PROTECTED]> wrote: > >Man, I don't even know where to start. There is no way this will work >if you don't have a web browser that can interpret Python. I don't know >of one, and I don't think anybody wants one because using a browser >that would execute arbitrary Python code provi

Re: How can I load python script into Html ??

2005-12-14 Thread PatPoul
Sorry I was not clear, my setup is functionnal with Pywin32. Python 2.4 + pywin32 and actually, I can do this kind of script on client side : alert('test') but I want to include external python script with the HTML tag

Re: How can I load python script into Html ??

2005-12-13 Thread Roger Upole
Mozilla is growing python support: http://weblogs.mozillazine.org/roadmap/archives/008865.html Using Pywin32, Python can also be registered as an ActiveScript language so that it can be used in Internet Explorer. Roger -- "Ask the ToeCutter - HE knows who I am !" "Steve M" <[

Re: How can I load python script into Html ??

2005-12-13 Thread Xavier Morel
PatPoul wrote: > I want to do the same thing as > > > but with a python script : > > > == > if xxx.py : > def mytest(): > alert("test") > window.document.write('test') > == > and test.html : > > > > > mytest() > >

Re: How can I load python script into Html ??

2005-12-13 Thread Xavier Morel
Shouldn't have hit the "send" button so fast... Addendum: the script element doesn't have any language attribute, the attribute you're supposed to use is "type" and it takes the MIME type of your script as a value. s/language="javascript"/type="text/javascript"/ -- http://mail.python.org/mailm

Re: How can I load python script into Html ??

2005-12-13 Thread Berislav Lopac
> Javascript is specifically designed for client-side scripting Actually, Javascript's client-side implementation is specifically designed for client-side scripting. It has originally been envisioned by Netscape for both server and sclient side scripting. Berislav -- http://mail.python.org/mail

Re: How can I load python script into Html ??

2005-12-13 Thread Steve M
Man, I don't even know where to start. There is no way this will work if you don't have a web browser that can interpret Python. I don't know of one, and I don't think anybody wants one because using a browser that would execute arbitrary Python code provided by the server would be an obscene secur

How can I load python script into Html ??

2005-12-13 Thread PatPoul
I want to do the same thing as but with a python script : == if xxx.py : def mytest(): alert("test") window.document.write('test') == and test.html : mytest() == I always got