(Oct-28-2017, 04:24 AM)Larz60+ Wrote: do one more thing:
change:
value4 = (a4.get()) if file: file.writelines(value4) file.close()to:
value4 = (a4.get()) print('value4 data type{}, contents{}'.format(type(value4), value4)) if file: file.writelines(value4) file.close()and post what comes out
I get
Quote:value4 data type<class 'str'>, contentskp1234-w3-10-10
i think the string only contains the last line of the list generated.