Don Parris wrote: > ### playing with wrapfunc (all other args are the same) ### > wrapfunc=lambda x:wrap_onspace(str(rows), x)) > > also > wrapfunc=lambda x:str(wrap_onspace(rows, x)))
This is way off base. wrap_onspace takes two arguments - the string to wrap, and the width to wrap to. You are passing it two arguments - the tuple of tuples to print, and the string to wrap. > > both generate the same error: > Traceback (most recent call last): > File "ekklesia.py", line 9, in ? > from ekklesia_db import * #Comment out this line if MySQL not > installed. File "/home/donp/python/ekklesia/ekklesia_db.py", line 64 > mbrPhone.close() > ^ > SyntaxError: invalid syntax I can't do anything with this without more context - a few lines of code before the line with the error at least. Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor