I have a need to run a WPF application written in IronPython on the client
computer without the install IronPython.
I try to create a C # thin client (. Exe), using IronPython.dll. If I can
not load the XAML - everything is fine. But when loading XAML error
occurs.
Does anyone have any informatio
I have a need to run a WPF application written in IronPython on the client
without installing IronPython.
Technology to try to debug a standard example of WPF
.\IronPython-2.7.2.1\Tutorial.
Baseline data:
1) The computer is not installed IronPython. From IronPython-2.7.2.1.zip
(download program)
Thank you, Matt Ward :).
It worked :)). You're a real expert.
Just one more thing, a window appears and then disappears. I guess,
because the console is closed.
Maybe after the text of the program in primer.py something else should be?
from avalon import *
import calculator
w = Window()
w.Title
Hello).
With the advice Matt Ward, thanks to him, the problem was solved as follows:
1) had to change avalon.py as follows:
commented out 2 lines
.
t = Thread(ThreadStart(start))
t.IsBackground = True
t.ApartmentState = ApartmentState.STA
#t.Start()
#are.WaitOne()
..
2) cha
How do I get access to the objects of this class which is loaded XAML.
Given that the objects are presented to the CLR types?
What namespace should be specified?
The text below gives an error.
1) module proba.py:
import WPF
class MyWindow(Window):
# p - CLR t
Hello,
That is, if the load XAML, as specified below, the Label (Lab1) can be
binding on the CLR type (p.name) is defined in proba.py (do not forget
that the code is the XAML load in proba.py)?
--- Original Message ---
Тема: RE: [Ironpython-users] H
Hello, Pascal.
Thank you for your help. Working. Used wpf.LoadComponent.
Here is the complete code (case study). Can anyone come in handy.
Still, I would like to know whether it is possible to determine the XAML
namespace environment in which IronPython loaded XAML (for example
because: xmlns: n
I can not find where to specify in PyCharm link to Python documentation.
Pressure Ctrl Q - the documentation is read from the HDD. Longer, up arrow,
goes to http://docs.python.org. Similarly, Shift F1.
I want to load these documents from the HDD. Like java-doc from
IntelliJIdea.
___
Silverlight is very necessary.
> Throwing some thoughts out there on future platform support:
>
> Given that Windows Phone 7 is basically dead in the water at this
> point, it doesn't seem worth it to support it. I'm going to remove the
> existing WP7 binaries, which don't work anyway, from 2.7.3.
Hi).
In the case study (IronPython in the browser) using Silverlight
technology and __ getattr__
__getattribute__ create an ambiguous situation. In a letter enclosed
file proba_js.rar. It's simple, there is nothing superfluous, only connect
dlr.xap, IronPython.slvx, Microsoft.Scripting.slvx from
Hi).
In the case study (IronPython in the browser) using Silverlight
technology and __ getattr__
__getattribute__ create an ambiguous situation. In a letter enclosed
file proba_js.rar. It's simple, there is nothing superfluous, only connect
dlr.xap, IronPython.slvx, Microsoft.Scripting.slvx from
Hello.
How to get the full path (in dotted notation) to an attribute:
class meta (type):
def __ getattr__ (cls, t):
print cls.__name__, t
class a (object):
class b (object):
class c (object):
__metaclass__ = meta
a.b.c
a.b.c.ff
The result:
c ff
And how to ge
So what's the conclusion:
__main__ c ff
A must:
a.b.c ff
>
> print cls.__module__, cls.__name__, t
>
> - Jeff
>
> On Tue, Sep 4, 2012 at 10:21 PM, wrote:
>> Hello.
>> How to get the full path (in dotted notation) to an attribute:
>>
>> class meta (type):
>> def __ getattr__ (cls, t):
>>
Hello.
For example in the text of the module meets the command:
ttt(4, x = 7)
where and how to define __ getattr__ to handle it?
Thank you.
___
Ironpython-users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/ironpython-u
Hello, Vernon Cole.
Or you probably do not understand the question, or I did not properly
posed the question.
I know I can define a function (ttt). And if I'm interested in __
getattr__, so in this case it can not be determined, or its name and
parameters are defined at run time.
Thank you.
> Dear
Hello, Jeff Hardy ).
1)
It is a good reference. But the methods must be defined in advance (class
A). If I write ttt ('i') without defining it in the class A, I get an
error. Use __getattr__ in class A does not work.
class A(object):
def salutation(self, accusative):
# code
def fa
Hello, Jeff Hardy ).
The fact that the environment in which the plan is written mixed code.
Operators Python runtime interpreter Python, operators are redirected to a
different language version to another interpreter. It is necessary that
when code appears key word in another language, Python captu
Hello, Dino Viehland ).
Thank you for your participation. In your example foo is required.
It works:
class met(type):
def __getattr__(cls, t):
def __call__(cls, *args, **kw):
class cl(object):
__metaclass__=met
cl(6,y=7).tt(3,yy=4) (and so on)
but cl requir
Hello, Niels Poppe.
Thank you. This is a good option. Once again, thank you.
> # didn’t test any of this in IronPython
> # this may work and/or help you further
> # read on about eval, exec and execfile builtins at
> #
> http://docs.python.org/library/functions.html?highlight=execfile#execfi
How to specify the startup IronPython in Silverlight. Should set -X:Frames
in the true.
What you need to edit?
1) languages.config, AppManifest.xaml in dlr.xap
2) or it may be in a tag initParams HTML:
?
I want to use sys._getframe (). Can anyone help?
> Hello I am wondering if it is possible to import the json module into a
> Silverlight 5 application. Would I need to compile it into a xap?
>
> If so how can I do this I am having no luck running a XAP file in Chiron
>
> Can I do this the other way
>
>
> import json
>
> ... Doesn't work either n
> Hello I am wondering if it is possible to import the json module into a
> Silverlight 5 application. Would I need to compile it into a xap?
>
> If so how can I do this I am having no luck running a XAP file in Chiron
>
> Can I do this the other way
>
>
Not be obtained from IronPython (DLR Silverlight) transfer Russian text
HTTP (XMLHttpRequest POST). example:
# -*- coding: utf-8 -*-
import cPickle
import _codecs as codecs
import sys
print sys.getdefaultencoding()
t_ish='Привет Салют!'
picl=cPickle.dumps(t_ish)
un_picl=cPickle.loads(picl)
print
23 matches
Mail list logo