
Dec. 26, 2011
8:39 a.m.
Dear Tim Allen and Jean-Paul I realy appreciate your enlightment .. i try it and it works Sincerely -bino- On 12/23/2011 11:15 AM, Tim Allen wrote:
It looks like "self.writethis" is an Element, not a string. Python's print statement will automatically call str() on things before it prints them, but Twisted's .write() methods do not. You'll have to change your code to something like this:
self.serial.write(str(self.writethis))
Tim.
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python