The Python language doesn't support partial classes, but you can probably
achieve something similar by using multiple inheritance. That is, put each
function into a separate class and then create an aggregate class that
derives from each of them.
>>> class A(object):
... def test1(self):
...
Basically you want to call FormatException and get back the formatted exception
string. That'll get you the same formatted exception we give at the console.
In 1.x this is PythonEngine.FormatException. In 2.x it's
ScriptEngine.FormatException.
-Original Message-
From: [EMAIL PROTECTED
Our company has a scripting/macro system. Functions are stored in a
database and at runtime we generate python classes. For a form we have
multiple functions declared. We want to use IronPython studio to emit the
python classes to a file to be debugged. Is it possible to build a partial
class s
I am embedding Ironpython code into C# code and my C# code is using a COM
component which i am using into Python code. Please suggest me what would be
the best approach to handle exceptions. Showing Line # and column # in
exception message for the embedded python code is a must.
--
View this me
I am embedding Ironpython code into C# code and my C# code is using a COM
component which i am using into Python code. Please suggest me what would be
the best approach to handle exceptions. Showing Line # and column # in
exception message for the embedded python code is a must.
__
Whether it's CPython or IronPython, you're going to have to deploy something
to the user's PC if you want to run a Python program there. IronPython
doesn't have any kind of installer; you just copy its modules over with your
application. But your program almost certainly makes use of parts of the
2008/6/12 Tim Roberts <[EMAIL PROTECTED]>:
> On Thu, 12 Jun 2008 02:18:58 +0200, "Jonathan Slenders" <
> [EMAIL PROTECTED]> wrote:"
>
>> 2008/6/12 Tim Roberts <[EMAIL PROTECTED]>:
>>
>>> >
>>> > May I ask what motivated you to create this from scratch? There are a
>>> > number of excellent Python
Integration between Silverlight and web frameworks for IronRuby and IronPython
is definitely an awesome thing. John and I showed this stuff with Rails at
RailsConf (we're working on getting that announced; let me know if you
interested in it and I can send stuff your way), and Dino did something
This is exactly why there are so many.
-Bill
On Jun 12, 2008, at 2:19 PM, Charles Mason wrote:
Anyone want to take a stab at why there are so many? It seems
trivial to me. I know I will be ridiculed for my example, but this
is what I use on my personal webserver:
def PrintTemplate(file
Tim Roberts a écrit :
On Thu, 12 Jun 2008 02:18:58 +0200, "Jonathan Slenders"
<[EMAIL PROTECTED]> wrote:"
2008/6/12 Tim Roberts <[EMAIL PROTECTED]>:
>
> May I ask what motivated you to create this from scratch? There are a
> number of excellent Python web application frameworks available today
On Thu, Jun 12, 2008 at 5:40 AM, Michael Foord <[EMAIL PROTECTED]>
wrote:
>
> There are also plenty of templating languages:
>
> Stan (used by Nevow)
> Genshi
> Cheetah
> Mako
> ZPT (Zope)
> SimpleTal (another Zope one)
> Kid
> Django template language
> PTL (Python templating language used by Qui
On Thu, 12 Jun 2008 02:18:58 +0200, "Jonathan Slenders"
<[EMAIL PROTECTED]> wrote:"
2008/6/12 Tim Roberts <[EMAIL PROTECTED]>:
>
> May I ask what motivated you to create this from scratch? There are a
> number of excellent Python web application frameworks available today,
> several of which ha
Look at the template module from the web.py (www.webpy.org). It is
based on python and uses identation to mark blocks.
2008/6/12 Jimmy Schementi <[EMAIL PROTECTED]>:
> Awesome about the Silverlight integration! I'll check it out soon and let you
> know what I think =)
>
> About the templating lan
9. Fix all known bugs preventing Django from running on alternate
Python
implementations. In practice this means fixing any bugs filed
before 1.0 beta
from people working on running Django on an alternate VM.
From Django's Roadmap: com/group/django-developers/browse_thread/
thread/5ce
The Silverlight integration is a *great* idea - but there really are a
lot of Python web frameworks and template languages out there. I'm
afraid realistically you're unlikely to get more than a handful of users
- but if you enjoy coding it then there is no reason to stop.
You might have more p
hi again,
this was just a repro. I can not change the visibility of the "Concrete"
class. The interface
and the "Base" class are the public API of this assembly. I will file a
bug on codeplex.
Thanks and keep up the great work,
Helmut
Von: [EMAIL PROTECTED]
16 matches
Mail list logo