|
From: Chris M. <ch...@hd...> - 2001-03-23 19:45:42
|
What is self.aPoint? if it isn't a string you can't concatenate it to a string. You could try:
System.out.println("a Point is now at: " + str(self.aPoint))
This should work if self.aPoint is something that can be converted to a string.
Chris
On Sat, 24 Mar 2001 03:36:09 -0500, you wrote:
> Hi again,
> In another one of my test modules I use a statement like this;
>
> System.out.println(" a Point is now at: " + self.aPoint)
>
> I get an error " TypeError: __add__ nor __radd__ defind fo these
> operands
>
> Is the concatenation not excepted in jython?
> When I use python's print statement everthing is ok.
> Wayne
>
>
> _______________________________________________
> Jython-users mailing list
> Jyt...@li...
> http://lists.sourceforge.net/lists/listinfo/jython-users
>
>
|