New answers tagged python-addin
Just now only I find that while reading a line from a text file, \n will be there at the right end. I checked that value which was read from text file by using 'print' command. In print command, the \n is not displayed a character. Hence I confused. Now the problem has been solved by using rstrip() function.
Older post, but i encountered a similar issue when i was building an addin. You will want to use the .da flavor of the searchcursor, and also use a data format that is more system friendly, like csv or xlsx.
Top 50 recent answers are included