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:
from System import EventHandler
from System.Windows.Browser import Htmlpage, HtmlEventArgs
document = System.Windo
Thank you, Michael
I had to:
import clr
clr.AddReference('System.Xml.Linq')
2008/6/17 Michael Foord <[EMAIL PROTECTED]>:
> Hello Jonathan,
>
> Do you need to add a reference to the assembly before importing from it?
>
> In the Silverlight chapter of IronPython in Action I use 'XmlReader' 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
Hello Jonathan,
Do you need to add a reference to the assembly before importing from it?
In the Silverlight chapter of IronPython in Action I use 'XmlReader' for
parsing XML. I have already (in an earlier chapter) provided a wrapper
over this that gives it a SAX like interface. The code worked
Hello,
It seems that XmlDocument isn't available in Silverlight. The Linq dll
("System.Xml.Linq.dll") is listed between the client libraries, but when I
add them to my Silverlight manifest file
and try:
from System.Xml.Linq import XDocument
The following error occurs: "ManagedRuntimeError, SetPr
Great question. The reason why operators get treated differently due to things
like:
[2, 3] * 2.0
For this call we cannot coerce the float into an int by Python semantics.
Compare this to:
xrange(2.0)
which is allowed (but in CPython issues a warning).
So in general Python seems to be more
sers@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
__ Information from ESET NOD32 Antivirus, ver
eon help me with this_ thanks!
>>> ___
>>> Users mailing list
>>> Users@lists.ironpython.com
>>> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
>>>
>> ___
Definitely, there's nothing *special* about ARAX, other than that it's Ruby; It
could be APAX too, given that someone writes the library. I'm building up a
nice library for Ruby, and that can definitely be ported to Python (Michael?
=P). All this is enabled by Silverlight and the DLR, so any lan
sts.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
__ Information from ESET NOD32 Antivirus, version of virus
signature database 3194 (20080617) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
thez are in the gac, and when i cop
Trent Nelson wrote:
Any likelihood of IronPython competing with the likes of 'ARAX'?
http://www.eweek.com/c/a/Application-Development/Move-Over-AJAX-ARAX-is-Here/
It would be easy enough to write a library supporting 'AJAX-like'
operations from IronPython in Silverlight.
Michael Foor
on.com/listinfo.cgi/users-ironpython.com
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
__ Information from ESET NOD32 Antivirus, version of virus
signature database 3194 (20080617) __
The message was checked by ESET NOD32
Any likelihood of IronPython competing with the likes of 'ARAX'?
http://www.eweek.com/c/a/Application-Development/Move-Over-AJAX-ARAX-is-Here/
Trent.
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ir
Hi
I basically have the same problem as in
http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=939
A struct like:
public struct Test
{
public float a;
public Test(float a)
{
this.a = a;
}
public static Test operator *(float lscalar, Test test)
{
return
Are the XNA assemblies in the same directory as your script? I don't
think they are in the GAC, so unless they in the same place as the ipy
script, or a directory in your path, they won't be loaded.
L8r, Paul
Gigs_ wrote:
Hi all!
i want to run some ironpython xna script, but all the tim im
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
2008/6/17 Jimmy Schementi <[EMAIL PROTECTED]>:
> Jonathan,
>
>
> Make your AppManifest.xaml file look like this, this will let you download
> DLLs from the root of the current domain. You can also add http://foo.comto
> the beginning of the path and have it download from a different server
> (wh
18 matches
Mail list logo