title: Python CSV writer truncates strings
body: <p>I have script that writes a list of lists into a CSV file. Works fine except for one problem: a certain column in the data is ALWAYS truncated to 256 chars in the output file.
  I checked the data before writing (used "print" command) and it seems that it contains the full length (~600 chars). The weirder thing is that there's another column with typical data ~1000 chars and it is not getting truncated.</p>
  
  <p><em>Edit</em>: Here's a minimal code that reproduces the problem. Note that the second string is much shorter than the third string, but still it is truncated in the csv but the third string is written entirely without truncation.</p>
  
  <pre><code>import csv
  mylist = [[0.43,
            "+/Men-s-Casual-British-Style-Canvas-Sports-Shoes--0.jpg::Men's Casual British Style Canvas Sports Shoes ;+/Men-s-Casual-British-Style-Canvas-Sports-Shoes--1.jpg::Men's Casual British Style Canvas Sports Shoes ;+/Men-s-Casual-British-Style-Canvas-Sports-Shoes--2.jpg::Men's Casual British Style Canvas Sports Shoes ;+/Men-s-Casual-British-Style-Canvas-Sports-Shoes--3.jpg::Men's Casual British Style Canvas Sports Shoes ;+/Men-s-Casual-British-Style-Canvas-Sports-Shoes--4.jpg::Men's Casual British Style Canvas Sports Shoes ;+/Men-s-Casual-British-Style-Canvas-Sports-Shoes--5.jpg::Men's Casual British Style Canvas Sports Shoes ",
            "&lt;span style='font-size:14px;'&gt;&lt;span style=''&gt;&lt;strong&gt;Description:&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;\n&lt;span style=''&gt;Men&amp;#39;s Casual British Style Canvas Sports Shoes&lt;/span&gt;&lt;span style=''&gt; are made of high quality material.It&amp;#39;s Very comfortable.It&amp;#39;s your best choice to go to sport.If you take it,The Simple British design will creates an eye-catching visual effect. It is a perfect gift for someone special or treats for you.&lt;br /&gt;\n&lt;br /&gt;\nMaterial:Canvas&lt;br /&gt;\nColor:Black,Yellow,Blue&lt;br /&gt;\nOccasion: Sport&lt;br /&gt;\n&lt;br /&gt;\n&lt;strong&gt;Details&amp;nbsp;in&amp;nbsp;size:&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;\n&lt;table border='0' cellpadding='1' cellspacing='1' height='81' width='500'&gt;\n\t&lt;tbody&gt;\n\t\t&lt;tr&gt;\n\t\t\t&lt;td style='text-align: center;'&gt;\n\t\t\t\t&lt;span style='font-size:14px;'&gt;&lt;span style=''&gt;US Size&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;\n\t\t\t&lt;td style='text-align: center;'&gt;\n\t\t\t\t&lt;span style='font-size:14px;'&gt;&lt;span style=''&gt;9&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;\n\t\t\t&lt;td style='text-align: center;'&gt;\n\t\t\t\t&lt;span style='font-size:14px;'&gt; Text goes on and on and on.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;\n"]]
  with open("test.csv", mode='wb') as f:
      dataWriter = csv.writer(f)
      dataWriter.writerows(mylist)
  </code></pre>
  
  <p>Did anyone encounter this? Any hint would be of assistance. I use Python 2.7 (Anaconda distribution)</p>
  
  <p>Thanks.</p>