Re: Is it possible to split a class definition?

2006-06-22 Thread Bruno Desthuilliers
[EMAIL PROTECTED] wrote:
> Hi,
> 
> Is it possible to split a Class definition over two or more text files?

Yes, but not directly. Could you tell us why you think you have such a
need ?

> (if so, how:)

Please answer my previous question first !-)

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in '[EMAIL PROTECTED]'.split('@')])"
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Is it possible to split a class definition?

2006-06-21 Thread Diez B. Roggisch
[EMAIL PROTECTED] schrieb:
> Hi,
> 
> Is it possible to split a Class definition over two or more text files?
> (if so, how:)


Not in that sense. But if you must, you can use several classes and then 
a resulting class that inherits from all of these.

Diez
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Is it possible to split a class definition?

2006-06-21 Thread Lawrence Oluyede
<[EMAIL PROTECTED]> wrote:

> Is it possible to split a Class definition over two or more text files?
> (if so, how:)

There's no partial types like in .NET 2.0 but since Python is dynamic
you can add members at runtime :-)

-- 
Lawrence - http://www.oluyede.org/blog
"Nothing is more dangerous than an idea
if it's the only one you have" - E. A. Chartier
-- 
http://mail.python.org/mailman/listinfo/python-list


Is it possible to split a class definition?

2006-06-21 Thread jerry . levan
Hi,

Is it possible to split a Class definition over two or more text files?
(if so, how:)

Jerry

-- 
http://mail.python.org/mailman/listinfo/python-list