ything was blocking you from hooking
HTML
events with Python.
~js
-Original Message-
From: [EMAIL PROTECTED] [mailto:users-
[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Tuesday, June 17, 2008 2:52 PM
To: Discussion of IronPython
Subject: Re: [IronP
o
>>> swap the examples around.
>>>
>>
>> Basically, if there is something pretty basic you can't do in
>> Python that you can do from browser Javascript, it's a bug! =)
>>
>>
>>> Michael Foord
>>>
>>>
>>>>
andler[HtmlEventArgs](onkeypress))
Anyway, just wondering if anything was blocking you from hooking HTML
events with Python.
~js
-Original Message-
From: [EMAIL PROTECTED] [mailto:users-
[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Tuesday, June 17, 2008 2:52 PM
T
ss(s, e):
> > document.result.innerHTML += "KeyPress"
> > document.code.AttachEvent("onkeypress",
> EventHandler[HtmlEventArgs](onkeypress))
> >
> > Anyway, just wondering if anything was blocking you from hooking HTML
> events with Python.
> >
> > ~js
Sent: Thursday, June 19, 2008 2:05 AM
To: Discussion of IronPython
Subject: Re: [IronPython] Python in the Browser updates
Hello all,
Thanks Jonathan. The approach you suggest has several great advantages.
The disadvantages are that you lose the ability to copy and paste (I
think most browse
> [EMAIL PROTECTED] On Behalf Of Michael Foord
> > Sent: Thursday, June 19, 2008 2:05 AM
> > To: Discussion of IronPython
> > Subject: Re: [IronPython] Python in the Browser updates
> >
> > Hello all,
> >
> > Thanks Jonathan. The approach you suggest has s
Jonathan Slenders wrote:
You're right there. Copying is no problem, but pasting is. I don't
know how often you paste Python code in an interactive terminal, but
you should do it literally line by line because of the extra empty
line required in the console to close a definition. So, I don't thi
AM
> To: Discussion of IronPython
> Subject: Re: [IronPython] Python in the Browser updates
>
> Hello all,
>
> Thanks Jonathan. The approach you suggest has several great advantages.
> The disadvantages are that you lose the ability to copy and paste (I
> think most browsers forbid yo
You're right there. Copying is no problem, but pasting is. I don't know how
often you paste Python code in an interactive terminal, but you should do it
literally line by line because of the extra empty line required in the
console to close a definition. So, I don't think it's really that important
Hello all,
Thanks Jonathan. The approach you suggest has several great advantages.
The disadvantages are that you lose the ability to copy and paste (I
think most browsers forbid you from manipulating the clipboard from
Javascript unless the user has fiddled with some obscure settings).
For
2008/6/18 Michael Foord <[EMAIL PROTECTED]>:
> Jimmy Schementi wrote:
>
>> Michael, question for you:
>>
>>
>>
>>> On every keypress Javascript calls into IronPython (via the C#!).
>>>
>>>
>>
>> How come you used C# to handle the onkeypress event? This should do it in
>> Python:
>>
>>
>>
>
> Did y
s](onkeypress))
Anyway, just wondering if anything was blocking you from hooking HTML events
with Python.
~js
-Original Message-
From: [EMAIL PROTECTED] [mailto:users-
[EMAIL PROTECTED] On Behalf Of Michael Foord
Sent: Tuesday, June 17, 2008 2:52 PM
To: Discussion of IronPython
Subject: Re
A couple of observations: the "get sliverlight" on your page links to
Windows binaries. I guess msft could detect OS and server appropriate binary
for download.
I installed the 2.0b2 on Mac -- it's 6.7 MB and not 4MB, as it says. :) And
it does take more than 10s to install, but all went fine. Wor
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:users-
> [EMAIL PROTECTED] On Behalf Of Michael Foord
> Sent: Tuesday, June 17, 2008 2:52 PM
> To: Discussion of IronPython
> Subject: Re: [IronPython] Python in the Browser updates
>
> Hello all,
>
> Sorry for
Hello all,
Sorry for the noise - but tomorrow I hope to package this for a release
and if any of you get the chance to give me any feedback before then.
http://www.voidspace.org.uk/ironpython/silverlight-console/console.html
I think I have fixed all the basic usability issues (it is no longer
Michael Foord wrote:
Miha Valencic wrote:
Any ideas how to get it working on Mac?
I've been developing it on the Mac - so it definitely works. You need
Silverlight 2 Beta 2 installed. You can get this from:
http://silverlight.net/GetStarted/
To run "Python in the Browser" locally you'll n
Miha Valencic wrote:
Any ideas how to get it working on Mac?
I've been developing it on the Mac - so it definitely works. You need
Silverlight 2 Beta 2 installed. You can get this from:
http://silverlight.net/GetStarted/
To run "Python in the Browser" locally you'll need a recent version o
Any ideas how to get it working on Mac?
Thanks, Miha.
On Tue, Jun 17, 2008 at 1:04 AM, Michael Foord <[EMAIL PROTECTED]>
wrote:
> For those who are interested, I've updated "Python in the Browser".
>
> And the online demo:
>
> http://www.voidspace.org.uk/ironpython/silverlight-console/console.ht
18 matches
Mail list logo