nitin chandra wrote: > Thanks Alan, Peter > > but didn't work > > nextrow=(cursor1.execute(query, (design1,))).fetchone() > AttributeError: 'NoneType' object has no attribute 'fetchone'
Try without the method chaining: cursor1.execute(query, (design1,)) nextrow = cursor1.fetchone() _______________________________________________ Tutor maillist - [email protected] To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor
