in reply to Re: Get output AnyData script without header or data_row
in thread Get output AnyData script without header or data_row

Okay, I'm going to 'close' the file but obviously also take advantage of this explanation.

Thanks, great module.
  • Comment on Re^2: Get output AnyData script without header or data_row

Replies are listed 'Best First'.
Re^3: Get output AnyData script without header or data_row
by jZed (Prior) on Dec 19, 2007 at 18:43 UTC
    I think what you'll want to do is have two ad_catalog() calls - the first to read the existing files with headers should not specify col_names, the second, to write a new file without headers should specify col_names. That way you do it all with the DBD and don't have to do any explicit file opening, writing, or closing.