Curt Hagenlocher wrote:
Yes. It's universally true in the CLR that you can't override a function
in a derived class unless the function was marked as virtual in the base
class. IronPython is no different than C# in this regard.
One thing that would be *nice* for C# noobs like me would be throw
Hello everyone,
I have successfully used JSON as serialization protocol between various
clients and servers in 2 projects, incl. Java app talking to Python
servers, so I would like to use JSON in my upcoming C/S project as well:
there's Json.NET, but how viable is using it in IronPython?
Doe
Thanks for replies, Dino!
Dino Viehland wrote:
1. when IPY 2.7 is to be released?
Our current plan is around the end of this year.
That's a pity, I need to get rolling with this relatively soon.
2. Documentation. This sort of worries me: where do I get the detailed
info how to use this st
Dino Viehland wrote:
Can you bring the interactive window up normally using Alt-I or
View->Other Windows->IronPython Interactive?
Sure -- you mean that I run the program via execfile()?
Here's result, it's an exception but different one this time:
» execfile('Program.py')
Traceback (most rec
Dino Viehland wrote:
Is there some way of simply overriding methods in Python so that they do
get called by form events?
In both of these cases there are no methods to be overridden. You're just
defining methods which you want to use for the event handlers. You need
to connect those methods
Dino Viehland wrote:
We do have an option to report inconsistent tabs/spaces... We just need to
enable it in the parser and setup an option to disable it. I believe it's
somewhere on the TODO list.
Good to know -- inconsistent indentation can be a real pain in a large
project. WingIDE does h
Simon Dahlbacka wrote:
Shouldn't your c# methods be protected virtual to be overridable?
Yes, that was it. Thanks! I'm a total newbie in C#.
--
Regards,
mk
--
Premature optimization is the root of all fun.
___
Users mailing list
Users@lists.ironpy
Hello Michael and everyone,
(sigh, I sent reply recently while I meant to start a new thread, this
is it)
Michael Foord wrote:
> I recommend using the Visual Studio C# designer and then subclass the
classes it generates from IronPython.
I set out to do just that and stumbled upon a problem:
Hello everyone,
I seem to be hitting all the rough edges: when I run my project in
interactive window (Debug | Execute project in python interactive..), I
get this exception:
Remote process has been reset...
Exception: System.Runtime.Serialization.SerializationException: Unable
to find assem
Hello Michael and everyone,
Michael Foord wrote:
I recommend using the Visual Studio C# designer and then subclass
the classes it generates from IronPython.
I set out to do just that and stumbled upon a problem:
I generated Windows form in C#, compiled into assembly (ip_cl1), copied
to pytho
Now that I got tabs right, intellisense works too.
--
Regards,
mk
--
Premature optimization is the root of all fun.
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Hello everyone,
Ok I found the cause, the __init__ filled in from the template is
exactly one space to the left from where it should be:
class MyForm(Form):
def __init__(self):
...
def func(self, x):
return x
If I shift "def __init__.." one space to the right, everything wo
Hello everyone,
I have stumbled upon what's probably an idiotic newbie problem: if I add
any method to a class, I get System.MissingMemberException. E.g.
import clr
clr.AddReference('System.Windows.Forms')
from System.Windows.Forms import *
class MyForm(Form):
def __init__(self):
I got an MSDN license which allowed me to install VS 2010 Professional,
I also installed IronPython tools. However, intellisense doesn't seem to
fully work, for instance I can access string method's like
'abc'.(complete)
but when I do
x = 'abc'
and then
x.
it just underscores it in red.
Ahh, I should have done RTFM:
IronPython Tools work with either the free integrated shell or with the
Professional, Premium, or Ultimate editions. If you don’t already have
Visual Studio 2010 installed you can download the integrated shell
--
Regards,
mk
--
Premature optimization is the
Michael Foord wrote:
Don't use IronPython Studio - it is *very* unstable and uses IronPython
1 which is years out of date.
Yikes.
Use IronPython Tools for Visual Studio 2010:
http://ironpython.net/ironpython/tools/
Basically you shouldn't use __slots__ because it causes problems like
this.
Michael Foord wrote:
Packaging an app as an installer is a separate problem from IronPython.
I've used Wix in the past for creating installers for Windows. You can
use the Pyc compiler to create an executable from your IronPython
application, or write a minimal C# .exe that embeds the IronPyth
Hello everyone,
When I try to add attributes to self in a method outside __init__, I'm
getting MissingMemberException. Do I have to add everything to __slots__
and __init__() ?
I'm not saying it's not worth having smth like this to get Python plug
into CLR, but this is kinda weird.
In addi
Hello everyone,
Is it possible to package IronPython GUI app as standalone executable?
Anybody here doing that as a practice for production apps?
My motivation is obvious: I can't expect most users to go through
rigmarole of installing ironpython to use my app. I need to use
standard windows ins
Hello everyone,
I'm a relatively long-time Python user and need to develop a GUI
application with Python.
I'm waffling between PyQT and IronPython. PyQT has multiplatform
capability that is going for it. On the plus side, IronPython may be
better integrated with Windows, which will be my main t
20 matches
Mail list logo