alimanfoo/petl — pull request #272 by rogerkwoodley (2014-07-28 23:59:22+00:00)
Title: Issue 174

tocsv/totsv now accept an optional argument, "write_header=False". Arguments ported to unicode versions as well (toucsv, toutsv)

When "write_header=True", writes `for row in data(mytable)`
When "write_header=False" or not specified, exhibits prior behavior of writing `for row in mytable`

Docstring modified to explain the new optional argument.

Unittests modified (test-cases added): petl.test.test_io.test_tocsv_appendcsv()
petl.test.test_io.test_totsv_appendtsv()
petl.test.test_io_unicode.test_toucsv()