Unfortunately we can't apply attributes to Python classes. I
get round
this particular problem by creating stub classes in C# and inheriting
from them in Python. See:
http://www.voidspace.org.uk/ironpython/silverlight/scriptable.shtml
Is there a CodePlex issue to resolve this?
--
--
: [IronPython] Get a string from JavaScript to IronPython
Unfortunately we can't apply attributes to Python classes. I
get round
this particular problem by creating stub classes in C# and inheriting
from them in Python. See:
http://www.voidspace.org.uk/ironpython/silverlight/scriptable.shtml
Thanks for the reply. I actually got it to work straight away :-)
On Jan 6, 4:07 pm, Michael Foord fuzzy...@voidspace.org.uk wrote:
Kristian wrote:
I have a code editor written in JavaScript on my page and I want to
send the code that it is typed in as a string to IronPython so that it
can