object WriteCSV { def main (args: Array [ String ]) { val writer = CSVWriter .open( new File ( "example.csv" )) writer.writeRow( List ( "column1" , "column2" , "column3" )) writer.writeRow( List ( "value1" , "value2" , "value3" )) writer.close() 武科大许志伟