Creating a CSV file
Code: "io_csv_write.py". Programming language: Python DMelt Version 1. Last modified: 12/11/2015. License: Pro
https://datamelt.org/code/cache/io_csv_write_2133.py
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.



from jhplot.io.csv import *

print "Writing file.."
w=CSVWriter("table.csv" ,',')

a1=['Test1','20','30'] 
w.writeNext(a1)

a2=['Test2','100','50'] 
w.writeNext(a2)

a3=['Test3','200','100'] 
w.writeNext(a3)

w.close()

You see the box below because you did not login.